Interface WebsocketClientHandler
public interface WebsocketClientHandler
A Websocket client reader
-
Method Summary
Modifier and TypeMethodDescriptionvoidonConnectionClosed(int code, String reason) Called when if the endpoint closes the connection.voidonEndpointMessage(byte[] message) The endpoint sent a bytes[] message.voidonEndpointMessage(String message) The endpoint sent a String message.
-
Method Details
-
onConnectionClosed
Called when if the endpoint closes the connection. -
onEndpointMessage
The endpoint sent a String message. -
onEndpointMessage
void onEndpointMessage(byte[] message) The endpoint sent a bytes[] message.
-