client-cpp
0.0.1-SNAPSHOT
|
#include <INotificationManager.hpp>
Public Member Functions | |
virtual void | addMandatoryTopicsListener (INotificationListener *listener)=0 |
virtual void | removeMandatoryTopicsListener (INotificationListener *listener)=0 |
virtual void | addTopicsListener (INotificationTopicsListener *listener)=0 |
virtual void | removeTopicsListener (INotificationTopicsListener *listener)=0 |
virtual void | updateTopicSubscriptions (const TopicSubscribers &subscribers)=0 |
virtual const std::map < std::string, Topic > & | getTopics ()=0 |
virtual | ~INotificationManager () |
Interface for the notification manager Responsible for the subscription of custom listeners on topic updates
Definition at line 46 of file INotificationManager.hpp.
|
inlinevirtual |
Definition at line 109 of file INotificationManager.hpp.
|
pure virtual |
Registers listener for all mandatory topics' updates. If there is no specific listener for some mandatory topic, notifications with that topic will be caught by this handler.
listener | the listener to receive notification. |
Implemented in kaa::NotificationManager.
|
pure virtual |
Adds listener of topics' list updates.
listener | the listener to receive updates. |
Implemented in kaa::NotificationManager.
|
pure virtual |
Retrieves the current set of topics.
Implemented in kaa::NotificationManager.
|
pure virtual |
Removes listener of mandatory topics' updates.
listener | the listener which is no longer needs updates. |
Implemented in kaa::NotificationManager.
|
pure virtual |
Removes listener of topics' list updates.
listener | listener the listener which is no longer needs updates. |
Implemented in kaa::NotificationManager.
|
pure virtual |
Updates (subscribes/unsubscribes) info about topic's subscriptions. May consist of several subscribers for the same topic.
KaaException | when topic isn't found or bad subscription info was passed (empty id or null subscriber). |
subscribers | collections of pairs topic id/subscriber info. |
Implemented in kaa::NotificationManager.