dxlconsole.modules.monitor.websocket_handler module¶
-
class
dxlconsole.modules.monitor.websocket_handler.
MonitorWebSocketEventHandler
(module)¶ Bases:
dxlconsole.handlers.WebSocketEventHandler
Handles the WebSocket events to notify the client when monitor updates are available
-
on_web_socket_closed
(client_id, web_socket)¶ Invoked whenever a web socket is closed
Parameters: - client_id -- the client owning the web socket
- web_socket -- the web socket being closed
-
on_web_socket_message
(client_id, message)¶ Invoked when a new message is received from a web socket
Parameters: - client_id -- the client owning the web socket
- message -- the message received
-
on_web_socket_opened
(client_id, web_socket)¶ Invoked whenever a new web socket is opened
Parameters: - client_id -- the client owning the web socket
- web_socket -- the newly opened web socket
-