client-cpp  0.7.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::string &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 32 of file INotificationListener.hpp.

Constructor & Destructor Documentation

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

Definition at line 43 of file INotificationListener.hpp.

Member Function Documentation

virtual void kaa::INotificationListener::onNotification ( const std::string &  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: