예제 #1
0
 public void send_SetConfigParam(int _homeId, sbyte _nodeId, sbyte _param, int _value, sbyte _size)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("SetConfigParam", TMessageType.Call, seqid_));
   SetConfigParam_args args = new SetConfigParam_args();
   args._homeId = _homeId;
   args._nodeId = _nodeId;
   args._param = _param;
   args._value = _value;
   args._size = _size;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
예제 #2
0
 public void SetConfigParam_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   SetConfigParam_args args = new SetConfigParam_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   SetConfigParam_result result = new SetConfigParam_result();
   result.Success = iface_.SetConfigParam(args._homeId, args._nodeId, args._param, args._value, args._size);
   oprot.WriteMessageBegin(new TMessage("SetConfigParam", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }