/** * Called internally when an existing connection is leaving * the server. This method always calls stopHostingOnConnection(hc). * Implementations should be aware that if they stopHostingOnConnection() * early that they will get a second call when the connection goes away. */ @Override public void connectionRemoved(Server server, HostedConnection hc) { if( log.isLoggable(Level.FINEST) ) { log.log(Level.FINEST, "connectionRemoved({0}, {1})", new Object[]{server, hc}); } stopHostingOnConnection(hc); } }
/** * Called internally when an existing connection is leaving * the server. This method always calls stopHostingOnConnection(hc). * Implementations should be aware that if they stopHostingOnConnection() * early that they will get a second call when the connection goes away. */ @Override public void connectionRemoved(Server server, HostedConnection hc) { if( log.isLoggable(Level.FINEST) ) { log.log(Level.FINEST, "connectionRemoved({0}, {1})", new Object[]{server, hc}); } stopHostingOnConnection(hc); } }