client-cpp  0.10.0
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, IKaaClientContext &context)
 
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, IKaaClientContext &context)
 
- 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_
 
IKaaClientContextcontext_
 

Detailed Description

Definition at line 30 of file BootstrapTransport.hpp.

Constructor & Destructor Documentation

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

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: