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