client-cpp
0.10.0
|
#include <BootstrapTransport.hpp>
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_ |
IKaaChannelManager & | channelManager_ |
IKaaClientContext & | context_ |
Definition at line 30 of file BootstrapTransport.hpp.
kaa::BootstrapTransport::BootstrapTransport | ( | IKaaChannelManager & | channelManager, |
IBootstrapManager & | bootstrapManager, | ||
IKaaClientContext & | context | ||
) |
|
virtual |
Creates Bootstrap sync request.
Implements kaa::IBootstrapTransport.
|
virtual |
Updates the state of the Bootstrap manager according the given response.
response | The Bootstrap server response. |
Implements kaa::IBootstrapTransport.
|
virtual |
Sets the specific IKaaChannelManager for the current transport.
channelManager | manager to be set. |
Implements kaa::IKaaTransport.