示例#1
0
 public void GetChannelProperty_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     GetChannelProperty_args args = new GetChannelProperty_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     GetChannelProperty_result result = new GetChannelProperty_result();
     result.Success = iface_.GetChannelProperty(args.ChannelID, args.Key);
     oprot.WriteMessageBegin(new TMessage("GetChannelProperty", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }
示例#2
0
 public void send_GetChannelProperty(string channelID, string key)
 {
     oprot_.WriteMessageBegin(new TMessage("GetChannelProperty", TMessageType.Call, seqid_));
     GetChannelProperty_args args = new GetChannelProperty_args();
     args.ChannelID = channelID;
     args.Key = key;
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }