| Modifier and Type | Method | Description |
|---|---|---|
void |
onData(org.threadly.litesockets.protocols.websocket.WSFrame wsf,
java.nio.ByteBuffer bb) |
This is called when a data frame is read off the
WSClient. |
void onData(org.threadly.litesockets.protocols.websocket.WSFrame wsf,
java.nio.ByteBuffer bb)
WSClient.wsf - the WSFrame that was read off the socket.bb - the payload of the frame, might be empty, but never null.