17 #ifndef INOTIFICATIONMANAGER_HPP_
18 #define INOTIFICATIONMANAGER_HPP_
23 #include "kaa/notification/gen/NotificationDefinitions.hpp"
30 class INotificationListener;
31 class INotificationTopicListListener;
146 virtual void subscribeToTopics(
const std::list<std::int64_t>& idList,
bool forceSync =
true) = 0;
182 virtual void unsubscribeFromTopics(
const std::list<std::int64_t>& idList,
bool forceSync =
true) = 0;
199 virtual void sync() = 0;
virtual void subscribeToTopics(const std::list< std::int64_t > &idList, bool forceSync=true)=0
Subscribes to the specified list of optional topics to receive notifications on those topics...
The listener which receives updates on available topics.
virtual void addNotificationListener(INotificationListener &listener)=0
Adds the listener which receives notifications on all available topics.
The public interface to topic subscription and notification delivery subsystems.
virtual ~INotificationManager()
virtual void unsubscribeFromTopics(const std::list< std::int64_t > &idList, bool forceSync=true)=0
Unsubscribes from the specified list of optional topics to stop receiving notifications on those topi...
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.
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 subscribeToTopic(std::int64_t id, bool forceSync=true)=0
Subscribes to the specified optional topic to receive notifications on that topic.
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 unsubscribeFromTopic(std::int64_t id, bool forceSync=true)=0
Unsubscribes from the specified optional topic to stop receiving notifications on that topic...