(self, subscribe: bool = None, unsubscribe: bool = None, deadListener: bool = None,
                      sendMessage: bool = None, newTopic: bool = None, delTopic: bool = None, all: bool = None)
Set the notification flag on/off for various aspects of pubsub.
        The kwargs that are None are left at their current value. The 'all',
        if not None, is set first. E.g.

            mgr.setFlagStates(all=True, delTopic=False)

        will toggle all notifications on, but will turn off the 'delTopic'
        notification.
Set the notification flag on/off for various aspects of pubsub.
        The kwargs that are None are left at their current value. The 'all',
        if not None, is set first. E.g.
Set the notification flag on / off for various aspects of pubsub . The kwargs that are None are left at their current value . The all if not None is set first . E . g .
def setFlagStates(self, subscribe: bool = None, unsubscribe: bool = None, deadListener: bool = None,
                      sendMessage: bool = None, newTopic: bool = None, delTopic: bool = None, all: bool = None):
        """
        Set the notification flag on/off for various aspects of pubsub.
        The kwargs that are None are left at their current value. The 'all',
        if not None, is set first. E.g.

            mgr.setFlagStates(all=True, delTopic=False)

        will toggle all notifications on, but will turn off the 'delTopic'
        notification.
        """
        if all is not None:
            # ignore all other arg settings, and set all of them to true:
            numArgs = 7  # how many args in this method
            self.setFlagStates(all=None, *((numArgs - 1) * [all]))

        if sendMessage is not None:
            self.__notifyOnSend = sendMessage
        if subscribe is not None:
            self.__notifyOnSubscribe = subscribe
        if unsubscribe is not None:
            self.__notifyOnUnsubscribe = unsubscribe

        if newTopic is not None:
            self.__notifyOnNewTopic = newTopic
        if delTopic is not None:
            self.__notifyOnDelTopic = delTopic
        if deadListener is not None:
            self.__notifyOnDeadListener = deadListener
def setFlagStates ( self , subscribe : bool = None , unsubscribe : bool = None , deadListener : bool = None , sendMessage : bool = None , newTopic : bool = None , delTopic : bool = None , all : bool = None ) : if all is not None : # ignore all other arg settings, and set all of them to true: numArgs = 7 # how many args in this method self . setFlagStates ( all = None , * ( ( numArgs - 1 ) * [ all ] ) ) if sendMessage is not None : self . __notifyOnSend = sendMessage if subscribe is not None : self . __notifyOnSubscribe = subscribe if unsubscribe is not None : self . __notifyOnUnsubscribe = unsubscribe if newTopic is not None : self . __notifyOnNewTopic = newTopic if delTopic is not None : self . __notifyOnDelTopic = delTopic if deadListener is not None : self . __notifyOnDeadListener = deadListener