client-cpp  0.6.3
kaa::BootstrapTransport Class Reference

#include <BootstrapTransport.hpp>

+ Inheritance diagram for kaa::BootstrapTransport:
+ Collaboration diagram for kaa::BootstrapTransport:

Public Member Functions

 BootstrapTransport (IKaaChannelManager &channelManager, IBootstrapManager &bootstrapManager)
 
virtual void sync ()
 
virtual std::shared_ptr
< BootstrapSyncRequest > 
createBootstrapSyncRequest ()
 
virtual void onBootstrapResponse (const BootstrapSyncResponse &response)
 
- Public Member Functions inherited from kaa::AbstractKaaTransport< TransportType::BOOTSTRAP >
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::IBootstrapTransport
virtual ~IBootstrapTransport ()
 

Additional Inherited Members

- Protected Member Functions inherited from kaa::AbstractKaaTransport< TransportType::BOOTSTRAP >
void syncByType (TransportType transportType=Type)
 
void syncAll ()
 
void syncAck (TransportType transportType=Type)
 
- Protected Attributes inherited from kaa::AbstractKaaTransport< TransportType::BOOTSTRAP >
const TransportType type_
 
IKaaChannelManagerchannelManager_
 
IKaaClientStateStoragePtr clientStatus_
 

Detailed Description

Definition at line 30 of file BootstrapTransport.hpp.

Constructor & Destructor Documentation

kaa::BootstrapTransport::BootstrapTransport ( IKaaChannelManager channelManager,
IBootstrapManager bootstrapManager 
)

Member Function Documentation

virtual std::shared_ptr<BootstrapSyncRequest> kaa::BootstrapTransport::createBootstrapSyncRequest ( )
virtual

Creates Bootstrap sync request.

Returns
The Bootstrap sync request.
See also
BootstrapSyncRequest

Implements kaa::IBootstrapTransport.

virtual void kaa::BootstrapTransport::onBootstrapResponse ( const BootstrapSyncResponse &  response)
virtual

Updates the state of the Bootstrap manager according the given response.

Parameters
responseThe Bootstrap server response.
See also
BootstrapSyncResponse

Implements kaa::IBootstrapTransport.

virtual void kaa::BootstrapTransport::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: