Ejemplo n.º 1
0
 public void send_SetNodeLocation(int _homeId, sbyte _nodeId, string _location)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("SetNodeLocation", TMessageType.Call, seqid_));
   SetNodeLocation_args args = new SetNodeLocation_args();
   args._homeId = _homeId;
   args._nodeId = _nodeId;
   args._location = _location;
   args.Write(oprot_);
   oprot_.WriteMessageEnd();
   #if SILVERLIGHT
   return oprot_.Transport.BeginFlush(callback, state);
   #else
   oprot_.Transport.Flush();
   #endif
 }
Ejemplo n.º 2
0
 public void SetNodeLocation_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   SetNodeLocation_args args = new SetNodeLocation_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   SetNodeLocation_result result = new SetNodeLocation_result();
   iface_.SetNodeLocation(args._homeId, args._nodeId, args._location);
   oprot.WriteMessageBegin(new TMessage("SetNodeLocation", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }