public void getFeaturesInRect_Process(int seqid, TProtocol iprot, TProtocol oprot) { getFeaturesInRect_args args = new getFeaturesInRect_args(); args.Read(iprot); iprot.ReadMessageEnd(); getFeaturesInRect_result result = new getFeaturesInRect_result(); result.Success = iface_.getFeaturesInRect(args.Rect); oprot.WriteMessageBegin(new TMessage("getFeaturesInRect", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public List <Feature> recv_getFeaturesInRect() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } getFeaturesInRect_result result = new getFeaturesInRect_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); if (result.__isset.success) { return(result.Success); } throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "getFeaturesInRect failed: unknown result"); }