Phoenix Logo

phoenix_title wx.lib.pubsub.core.publisher.Publisher

Publisher used for kwargs protocol, ie when sending message data via keyword arguments.


class_hierarchy Class Hierarchy

Inheritance diagram for class Publisher:

method_summary Methods Summary

getMsgProtocol  
sendMessage Send a message.

api Class API



class Publisher(PublisherBase)

Publisher used for kwargs protocol, ie when sending message data via keyword arguments.


Methods



getMsgProtocol(self)


sendMessage(self, topicName, **kwargs)

Send a message.

Parameters:
  • topicName – name of message topic (dotted or tuple format)
  • kwargs – message data (must satisfy the topic’s MDS)