libkazv
Kazv::NotificationHandler Class Reference

A class to handle a notification. More...

#include <notification-handler.hpp>

Classes

struct  Private
 

Public Member Functions

 NotificationHandler (lager::reader< ClientModel > client)
 
 KAZV_DECLARE_COPYABLE (NotificationHandler)
 
 ~NotificationHandler ()
 
PushAction handleNotification (const Event &e) const
 Handle a notification and get the actions to be taken. More...
 

Detailed Description

A class to handle a notification.

Constructor & Destructor Documentation

◆ NotificationHandler()

Kazv::NotificationHandler::NotificationHandler ( lager::reader< ClientModel client)

◆ ~NotificationHandler()

Kazv::NotificationHandler::~NotificationHandler ( )
default

Member Function Documentation

◆ handleNotification()

PushAction Kazv::NotificationHandler::handleNotification ( const Event e) const

Handle a notification and get the actions to be taken.

Only push rules are taken into consideration. Your own event will not be ruled out if there is no corresponding push rule.

Parameters
eThe event to process.
Returns
A PushAction for the event.

◆ KAZV_DECLARE_COPYABLE()

Kazv::NotificationHandler::KAZV_DECLARE_COPYABLE ( NotificationHandler  )

The documentation for this class was generated from the following files: