Package com.wowza.wms.websocket.model
Class WebSocketEventNotifyBase
Object
com.wowza.wms.websocket.model.WebSocketEventNotifyBase
- All Implemented Interfaces:
IWebSocketEventNotify
,IWebSocketEventNotify2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
onCreate
(IWebSocketSession webSocketSession) Trigger when WebSocket session is createdvoid
onDestroy
(IWebSocketSession webSocketSession) Triggered when WebSocket session is destroyedvoid
onIdle
(IWebSocketSession webSocketSession) Triggered for idle eventsvoid
onMessage
(IWebSocketSession webSocketSession, WebSocketMessage message) Triggered when WebSocket message (binary or text) is received (control messages are not included).
-
Constructor Details
-
WebSocketEventNotifyBase
public WebSocketEventNotifyBase()
-
-
Method Details
-
onCreate
Trigger when WebSocket session is created- Specified by:
onCreate
in interfaceIWebSocketEventNotify
- Parameters:
webSocketSession
- WebSocket session
-
onDestroy
Triggered when WebSocket session is destroyed- Specified by:
onDestroy
in interfaceIWebSocketEventNotify
- Parameters:
webSocketSession
- WebSocket session
-
onMessage
Triggered when WebSocket message (binary or text) is received (control messages are not included).- Specified by:
onMessage
in interfaceIWebSocketEventNotify
- Parameters:
webSocketSession
- WebSocket sessionmessage
- WebSocket message
-
onIdle
Triggered for idle events- Specified by:
onIdle
in interfaceIWebSocketEventNotify2
- Parameters:
webSocketSession
- WebSocket session
-