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:

sub_classes Known Subclasses

wx.lib.pubsub.core.publisher.PublisherArg1Stage2


super_classes Known Superclasses

wx.lib.pubsub.core.publisherbase.PublisherBase


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)