Send a notification to all registered listeners.

        msg : str
            Message to send to each listener

def notify(self, msg):
        """Send a notification to all registered listeners.

        msg : str
            Message to send to each listener
        """
        for listener in self.listeners:
            self._send(listener, msg)