Package com.facilita.fc.web
Interface WebSocketReceivedMessageCallback
-
public interface WebSocketReceivedMessageCallback
An interface defining the method that is called when a message from the server is received on aWebSocket
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onReceivedMessage(WebSocket webSocket, WebSocketMessage message)
The method that is invoked when a WebSocket message arrives from the server.
-
-
-
Method Detail
-
onReceivedMessage
void onReceivedMessage(WebSocket webSocket, WebSocketMessage message) throws java.lang.Exception
The method that is invoked when a WebSocket message arrives from the server.- Parameters:
webSocket
- TheWebSocket
that received the message.message
- TheWebSocketMessage
that was received from the server- Throws:
java.lang.Exception
- An error occurred
-
-