@Override
 protected void serverShutdown() throws RemotingException {
   if (acceptor != null) {
     acceptor.unbind(bindAddress);
     acceptor.dispose();
   }
 }
Ejemplo n.º 2
0
 @Override
 protected void tearDown() throws Exception {
   acceptor.dispose();
   connector.dispose();
 }