@ Override public void afterConnectionClosed ( final WebSocketSession webSocketSession , final CloseStatus status ) { logger . debug ( "[afterConnectionClosed] id = " , webSocketSession . getId ( ) ) ; this . session = null ; if ( connectionListener != null ) { connectionListener . onConnectionClosed ( ) ; } }
Is called after a websocket session was closed .