protected void connectionFailed ( Connection conn , IOException ioe ) { // remove this connection from our mappings (it is automatically removed from the Selector // when the socket is closed) _handlers . remove ( conn . selkey ) ; _connections . remove ( conn . getConnectionId ( ) ) ; _oflowqs . remove ( conn ) ; synchronized ( this ) { _stats . disconnects ++ ; } }
Called by a connection if it experiences a network failure .