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();
 }
 public List<BlockLocation> recv_getFileBlockLocations()
 {
     TMessage msg = iprot_.ReadMessageBegin();
     if (msg.Type == TMessageType.Exception) {
       TApplicationException x = TApplicationException.Read(iprot_);
       iprot_.ReadMessageEnd();
       throw x;
     }
     getFileBlockLocations_result result = new getFileBlockLocations_result();
     result.Read(iprot_);
     iprot_.ReadMessageEnd();
     if (result.__isset.success) {
       return result.Success;
     }
     if (result.__isset.ouch) {
       throw result.Ouch;
     }
     throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "getFileBlockLocations failed: unknown result");
 }