public interface IClientHandler
IClientHandler handles the client messages.
Clients from real-world connect to "/client" end-point.
All traffic from real-world clients is managed by IClientHandler
The clients are free to send any payload to the "/client" end-point.
However, the IClientHandler processes only the messages that it understands.
All incoming messages are handled by @see ClientTextWebSocketHandler.handleTextMessage(WebSocketSession, TextMessage)
These methods are used within the messaging-server to interact with the listener.
| Modifier and Type | Method and Description |
|---|---|
void |
sendToClient(ClientMessageWrapper clientMessage)
Message is generated by server-side and to be received by the client.
|
void sendToClient(ClientMessageWrapper clientMessage)
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.