public void getFeature_Process(int seqid, TProtocol iprot, TProtocol oprot) { getFeature_args args = new getFeature_args(); args.Read(iprot); iprot.ReadMessageEnd(); getFeature_result result = new getFeature_result(); result.Success = iface_.getFeature(args.Id); oprot.WriteMessageBegin(new TMessage("getFeature", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public Feature recv_getFeature() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } getFeature_result result = new getFeature_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); if (result.__isset.success) { return(result.Success); } throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "getFeature failed: unknown result"); }