client-cpp  0.8.1
INotificationTransport.hpp
Go to the documentation of this file.
1 
17 #ifndef INOTIFICATIONTRANSPORT_HPP_
18 #define INOTIFICATIONTRANSPORT_HPP_
19 
20 #include <list>
21 #include <memory>
22 
23 #include "kaa/gen/EndpointGen.hpp"
24 
25 namespace kaa {
26 
27 typedef std::list<SubscriptionCommand> SubscriptionCommands;
28 typedef std::shared_ptr<NotificationSyncRequest> NotificationSyncRequestPtr;
29 
32 
37 public:
38 
47 
56 
64  virtual void onNotificationResponse(const NotificationSyncResponse& response) = 0;
65 
73  virtual void onSubscriptionChanged(SubscriptionCommands&& commands) = 0;
74 
82  virtual void setNotificationProcessor(INotificationProcessor* processor) = 0;
83 
85 };
86 
87 } /* namespace kaa */
88 
89 #endif /* INOTIFICATIONTRANSPORT_HPP_ */
virtual void onSubscriptionChanged(SubscriptionCommands &&commands)=0
The public interface to topic subscription and notification delivery subsystems.
virtual NotificationSyncRequestPtr createNotificationRequest()=0
virtual void setNotificationProcessor(INotificationProcessor *processor)=0
std::list< SubscriptionCommand > SubscriptionCommands
virtual void onNotificationResponse(const NotificationSyncResponse &response)=0
virtual NotificationSyncRequestPtr createEmptyNotificationRequest()=0
std::shared_ptr< NotificationSyncRequest > NotificationSyncRequestPtr