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