예제 #1
0
 public void send_GetNodeQueryStage(int _homeId, sbyte _nodeId)
 #endif
 {
   oprot_.WriteMessageBegin(new TMessage("GetNodeQueryStage", TMessageType.Call, seqid_));
   GetNodeQueryStage_args args = new GetNodeQueryStage_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 GetNodeQueryStage_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   GetNodeQueryStage_args args = new GetNodeQueryStage_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   GetNodeQueryStage_result result = new GetNodeQueryStage_result();
   result.Success = iface_.GetNodeQueryStage(args._homeId, args._nodeId);
   oprot.WriteMessageBegin(new TMessage("GetNodeQueryStage", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }