Apache.Hadoop.Thriftfs.Api.ThriftHadoopFileSystem.Processor.chown_Process C# (CSharp) Method

chown_Process() public method

public chown_Process ( int seqid, TProtocol iprot, TProtocol oprot ) : void
seqid int
iprot Thrift.Protocol.TProtocol
oprot Thrift.Protocol.TProtocol
return void
            public void chown_Process(int seqid, TProtocol iprot, TProtocol oprot)
            {
                chown_args args = new chown_args();
                args.Read(iprot);
                iprot.ReadMessageEnd();
                chown_result result = new chown_result();
                try {
                  iface_.chown(args.Path, args.Owner, args.Group);
                } catch (ThriftIOException ouch) {
                  result.Ouch = ouch;
                }
                oprot.WriteMessageBegin(new TMessage("chown", TMessageType.Reply, seqid));
                result.Write(oprot);
                oprot.WriteMessageEnd();
                oprot.Transport.Flush();
            }