public final void addWebSocketPushListener ( final String sessionId , final WebSocketPushListener wsListener ) { sessionIdWsListeners . put ( sessionId , wsListener ) ; wsListeners . push ( wsListener ) ; this . wsListener = wsListener ; if ( pushQueueOnNewWebSocketListener ) { pushWffBMBytesQueue ( ) ; } }
adds the WebSocket listener for the given WebSocket session