Apache.Hadoop.Thriftfs.Api.ThriftHadoopFileSystem.Processor.getFileBlockLocations_Process C# (CSharp) Méthode

getFileBlockLocations_Process() public méthode

public getFileBlockLocations_Process ( int seqid, TProtocol iprot, TProtocol oprot ) : void
seqid int
iprot Thrift.Protocol.TProtocol
oprot Thrift.Protocol.TProtocol
Résultat void
            public void getFileBlockLocations_Process(int seqid, TProtocol iprot, TProtocol oprot)
            {
                getFileBlockLocations_args args = new getFileBlockLocations_args();
                args.Read(iprot);
                iprot.ReadMessageEnd();
                getFileBlockLocations_result result = new getFileBlockLocations_result();
                try {
                  result.Success = iface_.getFileBlockLocations(args.Path, args.Start, args.Length);
                } catch (ThriftIOException ouch) {
                  result.Ouch = ouch;
                }
                oprot.WriteMessageBegin(new TMessage("getFileBlockLocations", TMessageType.Reply, seqid));
                result.Write(oprot);
                oprot.WriteMessageEnd();
                oprot.Transport.Flush();
            }