Package com.wowza.wms.websocket.model
Interface IWebSocketEventNotify
-
- All Known Subinterfaces:
IWebSocketEventNotify2
- All Known Implementing Classes:
WebSocketEventNotifyBase
public interface IWebSocketEventNotify
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
onCreate(IWebSocketSession webSocketSession)
Trigger when WebSocket session is createdvoid
onDestroy(IWebSocketSession webSocketSession)
Triggered when WebSocket session is destroyedvoid
onMessage(IWebSocketSession webSocketSession, WebSocketMessage message)
Triggered when WebSocket message (binary or text) is received (control messages are not included).
-
-
-
Method Detail
-
onCreate
void onCreate(IWebSocketSession webSocketSession)
Trigger when WebSocket session is created- Parameters:
webSocketSession
- WebSocket session
-
onDestroy
void onDestroy(IWebSocketSession webSocketSession)
Triggered when WebSocket session is destroyed- Parameters:
webSocketSession
- WebSocket session
-
onMessage
void onMessage(IWebSocketSession webSocketSession, WebSocketMessage message)
Triggered when WebSocket message (binary or text) is received (control messages are not included).- Parameters:
webSocketSession
- WebSocket sessionmessage
- WebSocket message
-
-