Apache.Hadoop.Thriftfs.Api.ThriftHadoopFileSystem.Processor.rename_Process C# (CSharp) Метод

rename_Process() публичный Метод

public rename_Process ( int seqid, TProtocol iprot, TProtocol oprot ) : void
seqid int
iprot Thrift.Protocol.TProtocol
oprot Thrift.Protocol.TProtocol
Результат void
            public void rename_Process(int seqid, TProtocol iprot, TProtocol oprot)
            {
                rename_args args = new rename_args();
                args.Read(iprot);
                iprot.ReadMessageEnd();
                rename_result result = new rename_result();
                try {
                  result.Success = iface_.rename(args.Path, args.Dest);
                } catch (ThriftIOException ouch) {
                  result.Ouch = ouch;
                }
                oprot.WriteMessageBegin(new TMessage("rename", TMessageType.Reply, seqid));
                result.Write(oprot);
                oprot.WriteMessageEnd();
                oprot.Transport.Flush();
            }