public List<IdaFunction> recv_listFunctions() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } listFunctions_result result = new listFunctions_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); if (result.__isset.success) { return result.Success; } throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "listFunctions failed: unknown result"); }
public void listFunctions_Process(int seqid, TProtocol iprot, TProtocol oprot) { listFunctions_args args = new listFunctions_args(); args.Read(iprot); iprot.ReadMessageEnd(); listFunctions_result result = new listFunctions_result(); result.Success = iface_.listFunctions(); oprot.WriteMessageBegin(new TMessage("listFunctions", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }