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