public final void setListener ( @ Nullable final WebSocketListener listener ) { _listener = null == listener ? NullWebSocketListener . LISTENER : listener ; }
Set the listener to receive messages from the WebSocket .