#include <NotificationManager.hpp>
Definition at line 37 of file NotificationManager.hpp.
Constructor
- Parameters
-
manager | link to an instance of the Update Manager (IUpdateManager) |
Subscribe mandatory listener for all topics. Will be called if no specific (per-topic) exists
- Parameters
-
listener | mandatory topic listener |
Implements kaa::INotificationManager.
Subscribe listener on notification updates of topics
- Parameters
-
listener | notification topic listener |
Implements kaa::INotificationManager.
virtual const std::map<std::string, Topic>& kaa::NotificationManager::getTopics |
( |
| ) |
|
|
inlinevirtual |
virtual void kaa::NotificationManager::notificationReceived |
( |
const Notifications & |
notifications | ) |
|
|
virtual |
Will be called when new topic list are received
- Parameters
-
notifications | comprises of new notifications |
Implements kaa::INotificationProcessor.
Unsubscribe mandatory listener for all topics
- Parameters
-
listener | mandatory topic listener |
Implements kaa::INotificationManager.
Unsubscribe listener on notification updates of topics
- Parameters
-
listener | notification topic listener |
Implements kaa::INotificationManager.
virtual void kaa::NotificationManager::setTransport |
( |
boost::shared_ptr< NotificationTransport > |
transport | ) |
|
|
virtual |
Provide notification transport to manager.
virtual void kaa::NotificationManager::topicsListUpdated |
( |
const Topics & |
topics | ) |
|
|
virtual |
virtual void kaa::NotificationManager::updateTopicSubscriptions |
( |
const TopicSubscribers & |
subscribers | ) |
|
|
virtual |
Update (subscribe/unsubscribe) info about topic's subscriptions_
- Exceptions
-
KaaException | when topic isn't found or bad subscription info was passed (empty id or null subscriber). |
- Parameters
-
subscribers | collections of pairs topic id/subscriber info. May consist several subscribers for the same topic. |
Implements kaa::INotificationManager.
The documentation for this class was generated from the following file: