17 #ifndef DEFAULTNOTIFICATIONTRANSPORT_HPP_
18 #define DEFAULTNOTIFICATIONTRANSPORT_HPP_
22 #ifdef KAA_USE_NOTIFICATIONS
36 class IKaaChannelManager;
38 class NotificationTransport:
public AbstractKaaTransport<TransportType::NOTIFICATION>,
39 public INotificationTransport
43 : AbstractKaaTransport(manager), notificationProcessor_(nullptr)
45 setClientState(status);
52 virtual void onNotificationResponse(
const NotificationSyncResponse& response);
56 virtual void setNotificationProcessor(INotificationProcessor* processor) {
57 if (processor !=
nullptr) {
58 notificationProcessor_ = processor;
66 Notifications getUnicastNotifications(
const Notifications & notifications);
67 Notifications getMulticastNotifications(
const Notifications & notifications);
70 INotificationProcessor* notificationProcessor_;
72 std::set<std::string> acceptedUnicastNotificationIds_;
73 std::map<std::string, std::int32_t> notificationSubscriptions_;
std::shared_ptr< IKaaClientStateStorage > IKaaClientStateStoragePtr
std::list< SubscriptionCommand > SubscriptionCommands
std::shared_ptr< NotificationSyncRequest > NotificationSyncRequestPtr