Phoenix Logo

phoenix_title wx.lib.pubsub.utils.notification.NotifyByWriteFile

Print a message to stdout when a notification is received.


class_hierarchy Class Hierarchy

Inheritance diagram for class NotifyByWriteFile:


method_summary Methods Summary

__init__ Will write to stdout unless fileObj given. Will use
changeFile  
notifyDeadListener  
notifyDelTopic  
notifyNewTopic  
notifySend  
notifySubscribe  
notifyUnsubscribe  

api Class API



class NotifyByWriteFile(INotificationHandler)

Print a message to stdout when a notification is received.


Methods



__init__(self, fileObj = None, prefix = None)

Will write to stdout unless fileObj given. Will use defaultPrefix as prefix for each line output, unless prefix specified.



changeFile(self, fileObj)


notifyDeadListener(self, pubListener, topicObj)


notifyDelTopic(self, topicName)


notifyNewTopic(self, topicObj, description, required, argsDocs)


notifySend(self, stage, topicObj, pubListener=None)


notifySubscribe(self, pubListener, topicObj, newSub)


notifyUnsubscribe(self, pubListener, topicObj)