public string recv_GetGroupLabel() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } GetGroupLabel_result result = new GetGroupLabel_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); if (result.__isset.success) { return result.Success; } throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "GetGroupLabel failed: unknown result"); }
public void GetGroupLabel_Process(int seqid, TProtocol iprot, TProtocol oprot) { GetGroupLabel_args args = new GetGroupLabel_args(); args.Read(iprot); iprot.ReadMessageEnd(); GetGroupLabel_result result = new GetGroupLabel_result(); result.Success = iface_.GetGroupLabel(args._homeId, args._nodeId, args._groupIdx); oprot.WriteMessageBegin(new TMessage("GetGroupLabel", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }