public void GetComponentProperty_Process(int seqid, TProtocol iprot, TProtocol oprot) { GetComponentProperty_args args = new GetComponentProperty_args(); args.Read(iprot); iprot.ReadMessageEnd(); GetComponentProperty_result result = new GetComponentProperty_result(); result.Success = iface_.GetComponentProperty(args.ComponentID, args.Key); oprot.WriteMessageBegin(new TMessage("GetComponentProperty", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public string recv_GetComponentProperty() { TMessage msg = iprot_.ReadMessageBegin(); if (msg.Type == TMessageType.Exception) { TApplicationException x = TApplicationException.Read(iprot_); iprot_.ReadMessageEnd(); throw x; } GetComponentProperty_result result = new GetComponentProperty_result(); result.Read(iprot_); iprot_.ReadMessageEnd(); if (result.__isset.success) { return result.Success; } throw new TApplicationException(TApplicationException.ExceptionType.MissingResult, "GetComponentProperty failed: unknown result"); }