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