phoenix_title wx.lib.pubsub.core.publishermixin.PublisherMixin

Mixin for publishing messages to a topic’s listeners. This will be mixed into topicobj.Topic so that a user can use a Topic object to send a message to the topic’s listeners via a publish() method.

Note that it is important that the PublisherMixin NOT modify any state data during message sending, because in principle it could happen that a listener causes another message of same topic to be sent (presumably, the listener has a way of preventing infinite loop).


class_hierarchy Class Hierarchy

Inheritance diagram for class PublisherMixin:

sub_classes Known Subclasses

wx.lib.pubsub.core.topicobj.Topic


method_summary Methods Summary

__init__

Initialize self. See help(type(self)) for accurate signature.

publish


api Class API

class PublisherMixin

Mixin for publishing messages to a topic’s listeners. This will be mixed into topicobj.Topic so that a user can use a Topic object to send a message to the topic’s listeners via a publish() method.

Note that it is important that the PublisherMixin NOT modify any state data during message sending, because in principle it could happen that a listener causes another message of same topic to be sent (presumably, the listener has a way of preventing infinite loop).


Methods

__init__(self)

Initialize self. See help(type(self)) for accurate signature.



publish(self, **msgKwargs)