src/wiotp/sdk/gateway/client.py
def _onMessageNotification(self, client, userdata, pahoMessage):
        """
        Internal callback for gateway notification messages, parses source device from topic string and
        passes the information on to the registered device command callback
        """
        try:
            note = Notification(pahoMessage, self._messageCodecs)
        except InvalidEventException as e:
            self.logger.critical(str(e))
        else:
            self.logger.debug("Received Notification")
            if self.notificationCallback:
                self.notificationCallback(note)
def _onMessageNotification(self, client, userdata, pahoMessage):
        try:
            note = Notification(pahoMessage, self._messageCodecs)
        except InvalidEventException as e:
            self.logger.critical(str(e))
        else:
            self.logger.debug("Received Notification")
            if self.notificationCallback:
                self.notificationCallback(note)
def _onMessageNotification ( self , client , userdata , pahoMessage ) : try : note = Notification ( pahoMessage , self . _messageCodecs ) except InvalidEventException as e : self . logger . critical ( str ( e ) ) else : self . logger . debug ( "Received Notification" ) if self . notificationCallback : self . notificationCallback ( note )
Internal callback for gateway notification messages, parses source device from topic string and
        passes the information on to the registered device command callback
Internal callback for gateway notification messages parses source device from topic string and passes the information on to the registered device command callback