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