Receiver¶
-
class
zeeko.messages.receiver.Receiver¶ Bases:
objectReceive arrays streamed over ZeroMQ Sockets.
The receiver accepts messages from a ZeroMQ socket for arrays streamed to it, and then makes those arrays available to your python code. This is the raw data structure for received messages. For an object which will manage receiving arrays in a background thread, see
Client.This object behaves like a dictionary of received messages, and can be indexed and accessed just like a read-only dictionary.
Attributes Summary
framecountCounter which increments for each message sent-or-received. last_messageMethods Summary
event(self, name)Get the event which corresponds to a particular name receive(self, Socket socket, int flags=0, ...)Receive a full message Attributes Documentation
-
framecount¶ Counter which increments for each message sent-or-received.
-
last_message¶
Methods Documentation
-
event(self, name)¶ Get the event which corresponds to a particular name
-
receive(self, Socket socket, int flags=0, Socket notify=None)¶ Receive a full message
-