public int recv_GetValueMin() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } GetValueMin_result result = new GetValueMin_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); if (result.__isset.success) { return result.Success; } throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "GetValueMin failed: unknown result"); }
public void GetValueMin_Process(int seqid, TProtocol iprot, TProtocol oprot) { GetValueMin_args args = new GetValueMin_args(); args.Read(iprot); iprot.ReadMessageEnd(); GetValueMin_result result = new GetValueMin_result(); result.Success = iface_.GetValueMin(args._id); oprot.WriteMessageBegin(new TMessage("GetValueMin", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }