(self, topic=None, listener=None)
Give this to pub.subscribe() as a listener of
        'deadListener' messages.
Give this to pub.subscribe() as a listener of
        'deadListener' messages.
Give this to pub . subscribe () as a listener of deadListener messages .
def deadListener(self, topic=None, listener=None):
        """Give this to pub.subscribe() as a listener of
        'deadListener' messages."""
        msg = "%sListener %s for topic '%s' is dead\n"
        msg = msg % (self.prefix, listener, topic.getName())
        self._out.write(msg)
        self.lastMsg = msg
        self.lastTopic = topic.getName()
        self.lastLogTopic = 'pubsub.deadlistener'
        self.counts['dead'] += 1
def deadListener ( self , topic = None , listener = None ) : msg = "%sListener %s for topic '%s' is dead\n" msg = msg % ( self . prefix , listener , topic . getName ( ) ) self . _out . write ( msg ) self . lastMsg = msg self . lastTopic = topic . getName ( ) self . lastLogTopic = 'pubsub.deadlistener' self . counts [ 'dead' ] += 1