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