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 TypeMethodDescriptionvoidonCreate(IWebSocketSession webSocketSession) Trigger when WebSocket session is createdvoidonDestroy(IWebSocketSession webSocketSession) Triggered when WebSocket session is destroyedvoidonIdle(IWebSocketSession webSocketSession) Triggered for idle eventsvoidonMessage(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:
onCreatein interfaceIWebSocketEventNotify- Parameters:
webSocketSession- WebSocket session
-
onDestroy
Triggered when WebSocket session is destroyed- Specified by:
onDestroyin interfaceIWebSocketEventNotify- Parameters:
webSocketSession- WebSocket session
-
onMessage
Triggered when WebSocket message (binary or text) is received (control messages are not included).- Specified by:
onMessagein interfaceIWebSocketEventNotify- Parameters:
webSocketSession- WebSocket sessionmessage- WebSocket message
-
onIdle
Triggered for idle events- Specified by:
onIdlein interfaceIWebSocketEventNotify2- Parameters:
webSocketSession- WebSocket session
-