client-cpp  0.10.0
kaa::INotificationListener Class Referenceabstract

The listener which receives notifications on the specified topic. More...

#include <INotificationListener.hpp>

Public Member Functions

virtual void onNotification (const std::int64_t topicId, const KaaNotification &notification)=0
 Callback is used when the new notification on the specified topic is received. More...
 
virtual ~INotificationListener ()
 

Detailed Description

The listener which receives notifications on the specified topic.

Author
Denis Kimcherenko

Definition at line 33 of file INotificationListener.hpp.

Constructor & Destructor Documentation

virtual kaa::INotificationListener::~INotificationListener ( )
inlinevirtual

Definition at line 44 of file INotificationListener.hpp.

Member Function Documentation

virtual void kaa::INotificationListener::onNotification ( const std::int64_t  topicId,
const KaaNotification &  notification 
)
pure virtual

Callback is used when the new notification on the specified topic is received.

Parameters
[in]topicIdThe id of the topic on which the notification is received.
[in]notificationThe notification data.

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