示例#1
0
 public void SetComponentProperty_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
     SetComponentProperty_args args = new SetComponentProperty_args();
     args.Read(iprot);
     iprot.ReadMessageEnd();
     SetComponentProperty_result result = new SetComponentProperty_result();
     result.Success = iface_.SetComponentProperty(args.ComponentID, args.Key, args.Value);
     oprot.WriteMessageBegin(new TMessage("SetComponentProperty", TMessageType.Reply, seqid));
     result.Write(oprot);
     oprot.WriteMessageEnd();
     oprot.Transport.Flush();
 }
示例#2
0
 public void send_SetComponentProperty(string componentID, string key, string value)
 {
     oprot_.WriteMessageBegin(new TMessage("SetComponentProperty", TMessageType.Call, seqid_));
     SetComponentProperty_args args = new SetComponentProperty_args();
     args.ComponentID = componentID;
     args.Key = key;
     args.Value = value;
     args.Write(oprot_);
     oprot_.WriteMessageEnd();
     oprot_.Transport.Flush();
 }