(self, topic=None, listener=None, listenerRaw=None)
Give this to pub.subscribe() as listener of
        'pubsub.unsubscribe' mesages.
Give this to pub.subscribe() as listener of
        'pubsub.unsubscribe' mesages.
Give this to pub . subscribe () as listener of pubsub . unsubscribe mesages .
def unsubscribe(self, topic=None, listener=None, listenerRaw=None):
        """Give this to pub.subscribe() as listener of
        'pubsub.unsubscribe' mesages. """
        msg = '%sUnsubscribed listener %s from topic "%s"\n'
        msg = msg % (self.prefix, listener, topic.getName())
        self._out.write(msg)
        self.lastTopic = topic.getName()
        self.lastLogTopic = 'pubsub.unsubscribe'
        self.lastMsg = msg
        self.counts['unsub'] += 1
def unsubscribe ( self , topic = None , listener = None , listenerRaw = None ) : msg = '%sUnsubscribed listener %s from topic "%s"\n' msg = msg % ( self . prefix , listener , topic . getName ( ) ) self . _out . write ( msg ) self . lastTopic = topic . getName ( ) self . lastLogTopic = 'pubsub.unsubscribe' self . lastMsg = msg self . counts [ 'unsub' ] += 1