17 #ifndef INOTIFICATIONMANAGER_HPP_
18 #define INOTIFICATIONMANAGER_HPP_
23 #include "kaa/notification/gen/NotificationDefinitions.hpp"
30 class INotificationListener;
31 class INotificationTopicListListener;
129 virtual void subscribeToTopic(
const std::string&
id,
bool forceSync =
true) = 0;
146 virtual void subscribeToTopics(
const std::list<std::string>& idList,
bool forceSync =
true) = 0;
199 virtual void sync() = 0;
The listener which receives updates on available topics.
virtual void addNotificationListener(INotificationListener &listener)=0
Adds the listener which receives notifications on all available topics.
virtual void unsubscribeFromTopic(const std::string &id, bool forceSync=true)=0
Unsubscribes from the specified optional topic to stop receiving notifications on that topic...
The public interface to topic subscription and notification delivery subsystems.
virtual ~INotificationManager()
virtual void addTopicListListener(INotificationTopicListListener &listener)=0
Adds the listener which receives updates on the list of available topics.
virtual Topics getTopics()=0
Retrieves the list of available topics.
virtual void unsubscribeFromTopics(const std::list< std::string > &idList, bool forceSync=true)=0
Unsubscribes from the specified list of optional topics to stop receiving notifications on those topi...
The listener which receives notifications on the specified topic.
virtual void removeNotificationListener(INotificationListener &listener)=0
Removes the listener which receives notifications on all available topics.
virtual void sync()=0
Sends subscription request(s) to the Operations server.
virtual void removeTopicListListener(INotificationTopicListListener &listener)=0
Removes listener which receives updates on the list of available topics.
virtual void subscribeToTopics(const std::list< std::string > &idList, bool forceSync=true)=0
Subscribes to the specified list of optional topics to receive notifications on those topics...
virtual void subscribeToTopic(const std::string &id, bool forceSync=true)=0
Subscribes to the specified optional topic to receive notifications on that topic.