client-cpp  0.8.1
INotificationListener.hpp
Go to the documentation of this file.
1 
17 #ifndef INOTIFICATIONLISTENER_HPP_
18 #define INOTIFICATIONLISTENER_HPP_
19 
20 #include <string>
21 #include <cstdint>
22 
23 #include "kaa/notification/gen/NotificationDefinitions.hpp"
24 
25 namespace kaa {
26 
34 public:
42  virtual void onNotification(const std::int64_t topicId, const KaaNotification& notification) = 0;
43 
45 };
46 
47 } /* namespace kaa */
48 
49 #endif /* INOTIFICATIONLISTENER_HPP_ */
The listener which receives notifications on the specified topic.
virtual void onNotification(const std::int64_t topicId, const KaaNotification &notification)=0
Callback is used when the new notification on the specified topic is received.