17 #ifndef DEFAULTNOTIFICATIONTRANSPORT_HPP_
18 #define DEFAULTNOTIFICATIONTRANSPORT_HPP_
33 class IKaaChannelManager;
51 notificationProcessor_ = processor;
60 Notifications getUnicastNotifications(
const Notifications & notifications);
61 Notifications getMulticastNotifications(
const Notifications & notifications);
62 std::vector<TopicState> prepareTopicStatesForRequest();
67 std::set<std::string> acceptedUnicastNotificationIds_;
const TransportType type_
NotificationTransport(IKaaChannelManager &manager, IKaaClientContext &context)
virtual void setNotificationProcessor(INotificationProcessor *processor)
virtual NotificationSyncRequestPtr createEmptyNotificationRequest()
std::list< SubscriptionCommand > SubscriptionCommands
void syncByType(TransportType transportType=Type)
virtual NotificationSyncRequestPtr createNotificationRequest()
std::shared_ptr< NotificationSyncRequest > NotificationSyncRequestPtr
virtual void onSubscriptionChanged(SubscriptionCommands &&commands)
virtual void onNotificationResponse(const NotificationSyncResponse &response)