/** * {@inheritDoc} */ @Override protected void dispose0() throws Exception { unbind(); startupAcceptor(); wakeup(); }
/** * {@inheritDoc} */ @Override protected void dispose0() throws Exception { unbind(); startupAcceptor(); wakeup(); }
/** * {@inheritDoc} */ @Override protected IoFuture dispose0() throws Exception { unbind(); if (!disposalFuture.isDone()) { startupAcceptor(); wakeup(); } return disposalFuture; }
/** * {@inheritDoc} */ @Override protected final void unbind0(List<? extends SocketAddress> localAddresses) throws Exception { AcceptorOperationFuture future = new AcceptorOperationFuture(localAddresses); cancelQueue.add(future); startupAcceptor(); wakeup(); future.awaitUninterruptibly(); if (future.getException() != null) { throw future.getException(); } }
/** * {@inheritDoc} */ @Override protected final void unbind0(List<? extends SocketAddress> localAddresses) throws Exception { AcceptorOperationFuture future = new AcceptorOperationFuture(localAddresses); cancelQueue.add(future); startupAcceptor(); wakeup(); future.awaitUninterruptibly(); if (future.getException() != null) { throw future.getException(); } }
/** * {@inheritDoc} */ @Override protected final void unbind0(List<? extends SocketAddress> localAddresses) throws Exception { AcceptorOperationFuture future = new AcceptorOperationFuture( localAddresses); cancelQueue.add(future); startupAcceptor(); wakeup(); future.awaitUninterruptibly(); if (future.getException() != null) { throw future.getException(); } }