mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-12-23 07:21:55 +00:00
Make ZMQWebSocketHandler "abstract"
This commit is contained in:
parent
31ba6cb623
commit
26538a4ad9
@ -32,6 +32,9 @@ class ZMQWebSocketHandler(WebSocketHandler):
|
||||
log.debug('Received on WebSocket: {}'.format(message))
|
||||
self.send_message(*self.make_response(json.loads(message)))
|
||||
|
||||
def make_response(self, message):
|
||||
raise NotImplementedError
|
||||
|
||||
def send_message(self, message: dict, key: str = None):
|
||||
self._event_handler_connector.send_message(message, key)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user