public interface WebSocketListener
| Modifier and Type | Method and Description |
|---|---|
void |
onClose(WebSocketHandle handle)
Called when the WebSocket is closed.
|
void |
onError(java.lang.Throwable t)
Called when the WebSocket encounters an error condition.
|
void |
onMessage(byte[] b)
Called when the WebSocket receives a message.
|
void |
onOpen(WebSocketHandle handle)
Called when the WebSocket is successfully opened.
|
void onOpen(WebSocketHandle handle)
handle - the websocket handlevoid onClose(WebSocketHandle handle)
handle - the websocket handlevoid onError(java.lang.Throwable t)
t - the cause of the errorvoid onMessage(byte[] b)
b - the message as a byte arrayCopyright © 2015 Whizzo Software LLC. All rights reserved.