An implementation of this interface should be added by {@link
WebSocket#addListener(WebSocketListener)} to a {@link WebSocket}
instance before calling {@link WebSocket#connect()}.
{@link WebSocketAdapter} is an empty implementation of this interface.
Listener interface to receive WebSocket events.
An implementation of this interface should be added by {@link WebSocket#addListener(WebSocketListener)} to a {@link WebSocket} instance before calling {@link WebSocket#connect()}.
{@link WebSocketAdapter} is an empty implementation of this interface.
WebSocket#addListener(WebSocketListener)
WebSocketAdapter