def _on_notification(self, name, args):
        """Handle a msgpack-rpc notification."""
        if IS_PYTHON3:
            name = decode_if_bytes(name)
        handler = self._notification_handlers.get(name, None)
        if not handler:
            msg = self._missing_handler_error(name, 'notification')
            error(msg)
            self._on_async_err(msg + "\n")
            return

        debug('calling notification handler for "%s", args: "%s"', name, args)
        handler(*args)
def _on_notification ( self , name , args ) : if IS_PYTHON3 : name = decode_if_bytes ( name ) handler = self . _notification_handlers . get ( name , None ) if not handler : msg = self . _missing_handler_error ( name , 'notification' ) error ( msg ) self . _on_async_err ( msg + "\n" ) return debug ( 'calling notification handler for "%s", args: "%s"' , name , args ) handler ( * args )
Handle a msgpack-rpc notification.