Beispiel #1
0
 public void recv_HealNetworkNode()
 {
   TMessage msg = iprot_.ReadMessageBegin();
   if (msg.Type == TMessageType.Exception) {
     TApplicationException x = TApplicationException.Read(iprot_);
     iprot_.ReadMessageEnd();
     throw x;
   }
   HealNetworkNode_result result = new HealNetworkNode_result();
   result.Read(iprot_);
   iprot_.ReadMessageEnd();
   return;
 }
Beispiel #2
0
 public void HealNetworkNode_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   HealNetworkNode_args args = new HealNetworkNode_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   HealNetworkNode_result result = new HealNetworkNode_result();
   iface_.HealNetworkNode(args._homeId, args._nodeId, args._doRR);
   oprot.WriteMessageBegin(new TMessage("HealNetworkNode", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }