client-cpp  0.7.0
kaa::ConfigurationTransport Class Reference

#include <ConfigurationTransport.hpp>

+ Inheritance diagram for kaa::ConfigurationTransport:
+ Collaboration diagram for kaa::ConfigurationTransport:

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_
 
IKaaChannelManagerchannelManager_
 
IKaaClientStateStoragePtr clientStatus_
 

Detailed Description

Definition at line 32 of file ConfigurationTransport.hpp.

Constructor & Destructor Documentation

kaa::ConfigurationTransport::ConfigurationTransport ( IKaaChannelManager channelManager,
IConfigurationProcessor configProcessor,
IConfigurationHashContainer hashContainer,
IKaaClientStateStoragePtr  status 
)

Member Function Documentation

virtual std::shared_ptr<ConfigurationSyncRequest> kaa::ConfigurationTransport::createConfigurationRequest ( )
virtual

Creates the configuration request.

Returns
the configuration request object.
See also
ConfigurationSyncRequest

Implements kaa::IConfigurationTransport.

virtual void kaa::ConfigurationTransport::onConfigurationResponse ( const ConfigurationSyncResponse &  response)
virtual

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

Parameters
responsethe configuration response.
See also
ConfigurationSyncResponse

Implements kaa::IConfigurationTransport.

void kaa::ConfigurationTransport::sync ( )
virtual

Sets the specific IKaaChannelManager for the current transport.

Parameters
channelManagermanager to be set.

Implements kaa::IKaaTransport.


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