mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 14:21:33 +00:00
Fix message sequencing not being global
This commit is contained in:
parent
564c97e66a
commit
e3b97ee190
@ -65,9 +65,10 @@ class ZMQWebSocketProxy(WebSocketHandler):
|
|||||||
LOG.debug('Received on pull socket: %s', message)
|
LOG.debug('Received on pull socket: %s', message)
|
||||||
self.proxy_eventhandler_to_websocket(message)
|
self.proxy_eventhandler_to_websocket(message)
|
||||||
|
|
||||||
def sequence_message(self, message):
|
@classmethod
|
||||||
self.sequence_number += 1
|
def sequence_message(cls, message):
|
||||||
message['seq'] = self.sequence_number
|
cls.sequence_number += 1
|
||||||
|
message['seq'] = cls.sequence_number
|
||||||
|
|
||||||
def on_message(self, message):
|
def on_message(self, message):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user