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