public void GetPortProperty_Process(int seqid, TProtocol iprot, TProtocol oprot) { GetPortProperty_args args = new GetPortProperty_args(); args.Read(iprot); iprot.ReadMessageEnd(); GetPortProperty_result result = new GetPortProperty_result(); result.Success = iface_.GetPortProperty(args.ComponentID, args.PortID, args.Key); oprot.WriteMessageBegin(new TMessage("GetPortProperty", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_GetPortProperty(string componentID, string portID, string key) { oprot_.WriteMessageBegin(new TMessage("GetPortProperty", TMessageType.Call, seqid_)); GetPortProperty_args args = new GetPortProperty_args(); args.ComponentID = componentID; args.PortID = portID; args.Key = key; args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }