mahos.node.comm.Publisher#
- class mahos.node.comm.Publisher(socket: Socket, topic: bytes, logger=None)#
Class providing publish() for PUB-SUB pattern communication.
- __init__(socket: Socket, topic: bytes, logger=None)#
Methods
__init__(socket, topic[, logger])close()Close this publisher.
publish(msg)Publish the given message.
socket()Get zmq socket this publisher uses.