예제 #1
0
 public void send_SetNodeOn(int _homeId, sbyte _nodeId)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("SetNodeOn", TMessageType.Call, seqid_));
   SetNodeOn_args args = new SetNodeOn_args();
   args._homeId = _homeId;
   args._nodeId = _nodeId;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
예제 #2
0
 public void SetNodeOn_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   SetNodeOn_args args = new SetNodeOn_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   SetNodeOn_result result = new SetNodeOn_result();
   iface_.SetNodeOn(args._homeId, args._nodeId);
   oprot.WriteMessageBegin(new TMessage("SetNodeOn", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }