public void SetChannelProperty_Process(int seqid, TProtocol iprot, TProtocol oprot) { SetChannelProperty_args args = new SetChannelProperty_args(); args.Read(iprot); iprot.ReadMessageEnd(); SetChannelProperty_result result = new SetChannelProperty_result(); result.Success = iface_.SetChannelProperty(args.ChannelID, args.Key, args.Value); oprot.WriteMessageBegin(new TMessage("SetChannelProperty", TMessageType.Reply, seqid)); result.Write(oprot); oprot.WriteMessageEnd(); oprot.Transport.Flush(); }
public void send_SetChannelProperty(string channelID, string key, string value) { oprot_.WriteMessageBegin(new TMessage("SetChannelProperty", TMessageType.Call, seqid_)); SetChannelProperty_args args = new SetChannelProperty_args(); args.ChannelID = channelID; args.Key = key; args.Value = value; args.Write(oprot_); oprot_.WriteMessageEnd(); oprot_.Transport.Flush(); }