client-cpp  0.10.0
kaa::ConfigurationTransport Class Reference

#include <ConfigurationTransport.hpp>

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

Public Member Functions

 ConfigurationTransport (IKaaChannelManager &channelManager, IKaaClientContext &context)
 
virtual void sync ()
 
virtual std::shared_ptr
< ConfigurationSyncRequest > 
createConfigurationRequest ()
 
virtual void onConfigurationResponse (const ConfigurationSyncResponse &response)
 
virtual void setConfigurationHashContainer (IConfigurationHashContainer *container)
 
virtual void setConfigurationProcessor (IConfigurationProcessor *processor)
 
virtual ~ConfigurationTransport () noexcept
 
- Public Member Functions inherited from kaa::AbstractKaaTransport< TransportType::CONFIGURATION >
virtual ~AbstractKaaTransport ()
 
 AbstractKaaTransport (IKaaChannelManager &channelManager, IKaaClientContext &context)
 
- Public Member Functions inherited from kaa::IKaaTransport
virtual ~IKaaTransport ()
 
- Public Member Functions inherited from kaa::IConfigurationTransport
virtual ~IConfigurationTransport ()=default
 

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_
 
IKaaClientContextcontext_
 

Detailed Description

Definition at line 33 of file ConfigurationTransport.hpp.

Constructor & Destructor Documentation

kaa::ConfigurationTransport::ConfigurationTransport ( IKaaChannelManager channelManager,
IKaaClientContext context 
)
virtual kaa::ConfigurationTransport::~ConfigurationTransport ( )
inlinevirtualnoexcept

Definition at line 53 of file ConfigurationTransport.hpp.

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.

virtual void kaa::ConfigurationTransport::setConfigurationHashContainer ( IConfigurationHashContainer container)
inlinevirtual

Sets the configuration hash container.

Parameters
containerthe container to be set.
See Also
IConfigurationHashContainer

Implements kaa::IConfigurationTransport.

Definition at line 43 of file ConfigurationTransport.hpp.

virtual void kaa::ConfigurationTransport::setConfigurationProcessor ( IConfigurationProcessor processor)
inlinevirtual

Sets the configuration processor.

Parameters
processorthe processor to be set.
See Also
IConfigurationProcessor

Implements kaa::IConfigurationTransport.

Definition at line 48 of file ConfigurationTransport.hpp.

virtual 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: