DefaultNotificationHandler#

class wattson.hosts.ccx.app_gateway.handlers.default_notification_handler.DefaultNotificationHandler(app_gateway: AppGatewayClient)#

Bases: NotificationHandler

Methods

handle

Attempts to handle the given notification.

handle(notification: AppGatewayNotification) bool#

Attempts to handle the given notification. If it is handled, True should be returned. If it is not handled, False should be returned.

Parameters:

notification (AppGatewayNotification) – The received AppGatewayNotification

Returns:

Whether the notification has been handled

Return type:

bool