Interface WebsocketClientHandler
public interface WebsocketClientHandler
A Websocket client reader
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onConnectionClosed
(int code, String reason) Called when if the endpoint closes the connection.void
onEndpointMessage
(byte[] message) The endpoint sent a bytes[] message.void
onEndpointMessage
(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.
-