public void SetPortProperty_Process(int seqid, TProtocol iprot, TProtocol oprot) { SetPortProperty_args args = new SetPortProperty_args(); args.Read(iprot); iprot.ReadMessageEnd(); SetPortProperty_result result = new SetPortProperty_result(); result.Success = iface_.SetPortProperty(args.ComponentID, args.PortID, args.Key, args.Value); oprot.WriteMessageBegin(new TMessage("SetPortProperty", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_SetPortProperty(string componentID, string portID, string key, string value) { oprot_.WriteMessageBegin(new TMessage("SetPortProperty", TMessageType.Call, seqid_)); SetPortProperty_args args = new SetPortProperty_args(); args.ComponentID = componentID; args.PortID = portID; args.Key = key; args.Value = value; args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }