client-cpp  0.6.3
kaa::BootstrapManager Class Reference

#include <BootstrapManager.hpp>

+ Inheritance diagram for kaa::BootstrapManager:
+ Collaboration diagram for kaa::BootstrapManager:

Public Member Functions

 BootstrapManager ()
 
 ~BootstrapManager ()
 
virtual void receiveOperationsServerList ()
 
virtual void useNextOperationsServer (const TransportProtocolId &protocolId)
 
virtual void useNextOperationsServerByAccessPointId (std::int32_t id)
 
virtual void setTransport (IBootstrapTransport *transport)
 
virtual void setChannelManager (IKaaChannelManager *manager)
 
virtual void onServerListUpdated (const std::vector< ProtocolMetaData > &operationsServers)
 
- Public Member Functions inherited from kaa::IBootstrapManager
virtual ~IBootstrapManager ()
 

Detailed Description

Definition at line 27 of file BootstrapManager.hpp.

Constructor & Destructor Documentation

kaa::BootstrapManager::BootstrapManager ( )
inline

Definition at line 29 of file BootstrapManager.hpp.

kaa::BootstrapManager::~BootstrapManager ( )
inline

Definition at line 30 of file BootstrapManager.hpp.

Member Function Documentation

virtual void kaa::BootstrapManager::onServerListUpdated ( const std::vector< ProtocolMetaData > &  operationsServers)
virtual

Updates the operation server list.

Parameters
listthe operation server list.
See also
OperationsServerList

Implements kaa::IBootstrapManager.

virtual void kaa::BootstrapManager::receiveOperationsServerList ( )
virtual

Receives the latest list of servers from the bootstrap server.

Implements kaa::IBootstrapManager.

virtual void kaa::BootstrapManager::setChannelManager ( IKaaChannelManager manager)
virtual

Sets Channel manager.

Parameters
managerthe channel manager to be set.
See also
IKaaChannelManager

Implements kaa::IBootstrapManager.

virtual void kaa::BootstrapManager::setTransport ( IBootstrapTransport transport)
virtual

Sets bootstrap transport object.

Parameters
transportobject to be set.
See also
IBootstrapTransport

Implements kaa::IBootstrapManager.

virtual void kaa::BootstrapManager::useNextOperationsServer ( const TransportProtocolId protocolId)
virtual

Notifies Channel manager about new server meets given parameters.

Parameters
typethe channel's type (i.e. HTTP channel, HTTP long poll channel, etc.).
See also
ChannelType

Implements kaa::IBootstrapManager.

virtual void kaa::BootstrapManager::useNextOperationsServerByAccessPointId ( std::int32_t  id)
virtual

Update the Channel Manager with endpoint's properties retrieved by its DNS.

Parameters
nameendpoint's DNS.

Implements kaa::IBootstrapManager.


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