client-cpp
0.10.0
|
#include <NotificationTransport.hpp>
Public Member Functions | |
NotificationTransport (IKaaChannelManager &manager, IKaaClientContext &context) | |
virtual NotificationSyncRequestPtr | createEmptyNotificationRequest () |
virtual NotificationSyncRequestPtr | createNotificationRequest () |
virtual void | onNotificationResponse (const NotificationSyncResponse &response) |
virtual void | onSubscriptionChanged (SubscriptionCommands &&commands) |
virtual void | setNotificationProcessor (INotificationProcessor *processor) |
virtual void | sync () |
Public Member Functions inherited from kaa::AbstractKaaTransport< TransportType::NOTIFICATION > | |
virtual | ~AbstractKaaTransport () |
AbstractKaaTransport (IKaaChannelManager &channelManager, IKaaClientContext &context) | |
Public Member Functions inherited from kaa::IKaaTransport | |
virtual | ~IKaaTransport () |
Public Member Functions inherited from kaa::INotificationTransport | |
virtual | ~INotificationTransport () |
Additional Inherited Members | |
Protected Member Functions inherited from kaa::AbstractKaaTransport< TransportType::NOTIFICATION > | |
void | syncByType (TransportType transportType=Type) |
void | syncAll () |
void | syncAck (TransportType transportType=Type) |
Protected Attributes inherited from kaa::AbstractKaaTransport< TransportType::NOTIFICATION > | |
const TransportType | type_ |
IKaaChannelManager & | channelManager_ |
IKaaClientContext & | context_ |
Definition at line 35 of file NotificationTransport.hpp.
kaa::NotificationTransport::NotificationTransport | ( | IKaaChannelManager & | manager, |
IKaaClientContext & | context | ||
) |
|
virtual |
Creates a new empty Notification request.
Implements kaa::INotificationTransport.
|
virtual |
Creates a new Notification request.
Implements kaa::INotificationTransport.
|
virtual |
Updates the state of the Notification manager according to the given response.
response | the response from the server. |
Implements kaa::INotificationTransport.
|
virtual |
Updates the subscription state of optional topic
commands | the info about optional topic subscription. |
Implements kaa::INotificationTransport.
|
inlinevirtual |
Sets the given Notification processor.
processor | the Notification processor which to be set. |
Implements kaa::INotificationTransport.
Definition at line 49 of file NotificationTransport.hpp.
|
inlinevirtual |
Sets the specific IKaaChannelManager for the current transport.
channelManager | manager to be set. |
Implements kaa::IKaaTransport.
Definition at line 55 of file NotificationTransport.hpp.