OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
messaging.zeromq.publisher.ZeroMqPublisher Class Reference

ZeroMQ publisher that connects to the OpenRoadCode broker ingress. More...

Inheritance diagram for messaging.zeromq.publisher.ZeroMqPublisher:
messaging.publisher_if.PublisherIf

Public Member Functions

None publish (self, str topic, Mapping[str, Any] payload)
 Publish one encoded payload on a topic.
 
None close (self)
 Release publisher resources when the implementation owns any.
 

Detailed Description

ZeroMQ publisher that connects to the OpenRoadCode broker ingress.

Member Function Documentation

◆ publish()

None messaging.zeromq.publisher.ZeroMqPublisher.publish (   self,
str  topic,
Mapping[str, Any]  payload 
)

Publish one encoded payload on a topic.

Parameters
topicPublic topic name used to route the message.
payloadJSON-compatible encoded contract payload.

Reimplemented from messaging.publisher_if.PublisherIf.


The documentation for this class was generated from the following file: