public interface WebSocketListener extends WebSocketConnectionListener
| Modifier and Type | Method and Description |
|---|---|
void |
onWebSocketBinary(byte[] payload,
int offset,
int len)
A WebSocket binary frame has been received.
|
void |
onWebSocketText(String message)
A WebSocket Text frame was received.
|
onWebSocketClose, onWebSocketConnect, onWebSocketErrorvoid onWebSocketBinary(byte[] payload,
int offset,
int len)
payload - the raw payload array receivedoffset - the offset in the payload array where the data startslen - the length of bytes in the payloadvoid onWebSocketText(String message)
message - the messageCopyright © 1995-2016 Webtide. All Rights Reserved.