Package com.wowza.wms.websocket.model
Class WebSocketEventNotifyBase
- Object
- 
- com.wowza.wms.websocket.model.WebSocketEventNotifyBase
 
- 
- All Implemented Interfaces:
- IWebSocketEventNotify,- IWebSocketEventNotify2
 
 public class WebSocketEventNotifyBase extends Object implements IWebSocketEventNotify2 
- 
- 
Constructor SummaryConstructors Constructor Description WebSocketEventNotifyBase()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonCreate(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).
 
- 
- 
- 
Method Detail- 
onCreatepublic void onCreate(IWebSocketSession webSocketSession) Trigger when WebSocket session is created- Specified by:
- onCreatein interface- IWebSocketEventNotify
- Parameters:
- webSocketSession- WebSocket session
 
 - 
onDestroypublic void onDestroy(IWebSocketSession webSocketSession) Triggered when WebSocket session is destroyed- Specified by:
- onDestroyin interface- IWebSocketEventNotify
- Parameters:
- webSocketSession- WebSocket session
 
 - 
onMessagepublic void onMessage(IWebSocketSession webSocketSession, WebSocketMessage message) Triggered when WebSocket message (binary or text) is received (control messages are not included).- Specified by:
- onMessagein interface- IWebSocketEventNotify
- Parameters:
- webSocketSession- WebSocket session
- message- WebSocket message
 
 - 
onIdlepublic void onIdle(IWebSocketSession webSocketSession) Triggered for idle events- Specified by:
- onIdlein interface- IWebSocketEventNotify2
- Parameters:
- webSocketSession- WebSocket session
 
 
- 
 
-