Exemplo n.º 1
0
 public void recv_RemoveAssociation()
 {
   TMessage msg = iprot_.ReadMessageBegin();
   if (msg.Type == TMessageType.Exception) {
     TApplicationException x = TApplicationException.Read(iprot_);
     iprot_.ReadMessageEnd();
     throw x;
   }
   RemoveAssociation_result result = new RemoveAssociation_result();
   result.Read(iprot_);
   iprot_.ReadMessageEnd();
   return;
 }
Exemplo n.º 2
0
 public void RemoveAssociation_Process(int seqid, TProtocol iprot, TProtocol oprot)
 {
   RemoveAssociation_args args = new RemoveAssociation_args();
   args.Read(iprot);
   iprot.ReadMessageEnd();
   RemoveAssociation_result result = new RemoveAssociation_result();
   iface_.RemoveAssociation(args._homeId, args._nodeId, args._groupIdx, args._targetNodeId);
   oprot.WriteMessageBegin(new TMessage("RemoveAssociation", TMessageType.Reply, seqid)); 
   result.Write(oprot);
   oprot.WriteMessageEnd();
   oprot.Transport.Flush();
 }