public interface IWebSocketEventNotify
| Modifier and Type | Method and Description |
|---|---|
void |
onCreate(IWebSocketSession webSocketSession)
Trigger when WebSocket session is created
|
void |
onDestroy(IWebSocketSession webSocketSession)
Triggered when WebSocket session is destroyed
|
void |
onMessage(IWebSocketSession webSocketSession,
WebSocketMessage message)
Triggered when WebSocket message (binary or text) is received (control messages are not included).
|
void onCreate(IWebSocketSession webSocketSession)
webSocketSession - WebSocket sessionvoid onDestroy(IWebSocketSession webSocketSession)
webSocketSession - WebSocket sessionvoid onMessage(IWebSocketSession webSocketSession, WebSocketMessage message)
webSocketSession - WebSocket sessionmessage - WebSocket message