public void unregisterServerSocketHandler ( NIOServerSocketHandler serverHandler ) { if ( pendingAcceptHandlers . remove ( serverHandler ) ) return ; // Not handled yet if ( serverHandlers . remove ( serverHandler ) ) { closeSocketChannel ( serverHandler . getServerSocketChannel ( ) , selector ) ; wakeUpAndWait ( ) ; } }
Unregister a new server socket handler