Add stuff for messages.

This commit is contained in:
Piv
2020-02-26 23:00:06 +10:30
parent 136c96a926
commit 6aa0f845ba
3 changed files with 41 additions and 16 deletions

View File

@@ -31,10 +31,15 @@ class ZmqPubSubStreamer(Streamer):
# pass it into a thread.
pass
def send_message(self, message_bytes):
def send_message(self, message):
'''
Args
----
message: A message type that has the serialise() method.
'''
pass
def send_message_topic(self, topic, message_bytes):
def send_message_topic(self, topic, message):
pass