rad
3.0.0
|
Publisher provides the capability to publish protobuf topics over ZMQ. More...
Public Member Functions | |
def | __init__ (self, *str endpoint, zmq.asyncio.Context zmq_ctx, asyncio.AbstractEventLoop loop=None) |
def | stop (self) |
Stop publisher. More... | |
asyncio.Future | publish (self, str topic_name, google.protobuf.message.Message topic) |
Publish topic under name topic_name . More... | |
def | __init__ (self, *str endpoint, zmq.asyncio.Context zmq_ctx, asyncio.AbstractEventLoop loop=None) |
def | stop (self) |
Stop publisher. More... | |
asyncio.Future | publish (self, str topic_name, google.protobuf.message.Message topic) |
Publish topic under name topic_name . More... | |
Publisher provides the capability to publish protobuf topics over ZMQ.
def rad.services.pubsub.Publisher.__init__ | ( | self, | |
*str | endpoint, | ||
zmq.asyncio.Context | zmq_ctx, | ||
asyncio.AbstractEventLoop | loop = None |
||
) |
def rad.services.pubsub.Publisher.__init__ | ( | self, | |
*str | endpoint, | ||
zmq.asyncio.Context | zmq_ctx, | ||
asyncio.AbstractEventLoop | loop = None |
||
) |
asyncio.Future rad.services.pubsub.Publisher.publish | ( | self, | |
str | topic_name, | ||
google.protobuf.message.Message | topic | ||
) |
Publish topic
under name topic_name
.
Returns Future that resolves once topic has been published.
asyncio.Future rad.services.pubsub.Publisher.publish | ( | self, | |
str | topic_name, | ||
google.protobuf.message.Message | topic | ||
) |
Publish topic
under name topic_name
.
Returns Future that resolves once topic has been published.
def rad.services.pubsub.Publisher.stop | ( | self | ) |
Stop publisher.
Closes socket
def rad.services.pubsub.Publisher.stop | ( | self | ) |
Stop publisher.
Closes socket