client-cpp  0.10.0
kaa::INotificationTransport Class Referenceabstract

#include <INotificationTransport.hpp>

+ Inheritance diagram for kaa::INotificationTransport:

Public Member Functions

virtual NotificationSyncRequestPtr createNotificationRequest ()=0
 
virtual NotificationSyncRequestPtr createEmptyNotificationRequest ()=0
 
virtual void onNotificationResponse (const NotificationSyncResponse &response)=0
 
virtual void onSubscriptionChanged (SubscriptionCommands &&commands)=0
 
virtual void setNotificationProcessor (INotificationProcessor *processor)=0
 
virtual ~INotificationTransport ()
 

Detailed Description

Updates the Notification manager state.

Definition at line 36 of file INotificationTransport.hpp.

Constructor & Destructor Documentation

virtual kaa::INotificationTransport::~INotificationTransport ( )
inlinevirtual

Definition at line 84 of file INotificationTransport.hpp.

Member Function Documentation

virtual NotificationSyncRequestPtr kaa::INotificationTransport::createEmptyNotificationRequest ( )
pure virtual

Creates a new empty Notification request.

Returns
new empty Notification request.
See Also
NotificationSyncRequest

Implemented in kaa::NotificationTransport.

virtual NotificationSyncRequestPtr kaa::INotificationTransport::createNotificationRequest ( )
pure virtual

Creates a new Notification request.

Returns
new Notification request.
See Also
NotificationSyncRequest

Implemented in kaa::NotificationTransport.

virtual void kaa::INotificationTransport::onNotificationResponse ( const NotificationSyncResponse &  response)
pure virtual

Updates the state of the Notification manager according to the given response.

Parameters
responsethe response from the server.
See Also
NotificationSyncResponse

Implemented in kaa::NotificationTransport.

virtual void kaa::INotificationTransport::onSubscriptionChanged ( SubscriptionCommands &&  commands)
pure virtual

Updates the subscription state of optional topic

Parameters
commandsthe info about optional topic subscription.
See Also
SubscriptionCommand
SubscriptionCommands

Implemented in kaa::NotificationTransport.

virtual void kaa::INotificationTransport::setNotificationProcessor ( INotificationProcessor processor)
pure virtual

Sets the given Notification processor.

Parameters
processorthe Notification processor which to be set.
See Also
INotificationProcessor

Implemented in kaa::NotificationTransport.


The documentation for this class was generated from the following file: