17 #ifndef DEFAULTNOTIFICATIONTRANSPORT_HPP_
18 #define DEFAULTNOTIFICATIONTRANSPORT_HPP_
24 #include <boost/cstdint.hpp>
34 class IKaaChannelManager;
55 if (processor !=
nullptr) {
56 notificationProcessor_ = processor;
70 std::set<std::string> acceptedUnicastNotificationIds_;
71 std::map<std::string, boost::int32_t> notificationSubscriptions_;
virtual void setClientState(IKaaClientStateStoragePtr status)
const TransportType type_
boost::shared_ptr< IKaaClientStateStorage > IKaaClientStateStoragePtr
virtual void setNotificationProcessor(INotificationProcessor *processor)
boost::shared_ptr< NotificationSyncRequest > NotificationSyncRequestPtr
virtual void onSubscriptionChanged(const SubscriptionCommands &commands)
virtual NotificationSyncRequestPtr createEmptyNotificationRequest()
std::vector< Notification > Notifications
std::list< SubscriptionCommand > SubscriptionCommands
void syncByType(TransportType transportType=Type)
virtual NotificationSyncRequestPtr createNotificationRequest()
NotificationTransport(IKaaClientStateStoragePtr status, IKaaChannelManager &manager)
virtual void onNotificationResponse(const NotificationSyncResponse &response)