client-cpp
0.7.0
|
#include <ConfigurationTransport.hpp>
Public Member Functions | |
ConfigurationTransport (IKaaChannelManager &channelManager, IConfigurationProcessor *configProcessor, IConfigurationHashContainer *hashContainer, IKaaClientStateStoragePtr status) | |
void | sync () |
virtual std::shared_ptr < ConfigurationSyncRequest > | createConfigurationRequest () |
virtual void | onConfigurationResponse (const ConfigurationSyncResponse &response) |
Public Member Functions inherited from kaa::AbstractKaaTransport< TransportType::CONFIGURATION > | |
virtual | ~AbstractKaaTransport () |
AbstractKaaTransport (IKaaChannelManager &channelManager) | |
virtual void | setClientState (IKaaClientStateStoragePtr status) |
Public Member Functions inherited from kaa::IKaaTransport | |
virtual | ~IKaaTransport () |
Public Member Functions inherited from kaa::IConfigurationTransport | |
virtual | ~IConfigurationTransport () |
Additional Inherited Members | |
Protected Member Functions inherited from kaa::AbstractKaaTransport< TransportType::CONFIGURATION > | |
void | syncByType (TransportType transportType=Type) |
void | syncAll () |
void | syncAck (TransportType transportType=Type) |
Protected Attributes inherited from kaa::AbstractKaaTransport< TransportType::CONFIGURATION > | |
const TransportType | type_ |
IKaaChannelManager & | channelManager_ |
IKaaClientStateStoragePtr | clientStatus_ |
Definition at line 32 of file ConfigurationTransport.hpp.
kaa::ConfigurationTransport::ConfigurationTransport | ( | IKaaChannelManager & | channelManager, |
IConfigurationProcessor * | configProcessor, | ||
IConfigurationHashContainer * | hashContainer, | ||
IKaaClientStateStoragePtr | status | ||
) |
|
virtual |
Creates the configuration request.
Implements kaa::IConfigurationTransport.
|
virtual |
Updates the state of the Configuration manager according to the given response.
response | the configuration response. |
Implements kaa::IConfigurationTransport.
|
virtual |
Sets the specific IKaaChannelManager for the current transport.
channelManager | manager to be set. |
Implements kaa::IKaaTransport.