client-cpp  0.9.0
kaa::BootstrapManager Class Reference

#include <BootstrapManager.hpp>

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

Public Member Functions

 BootstrapManager (IKaaClientContext &context, IKaaClient *client)
 
 ~BootstrapManager ()
 
virtual void setFailoverStrategy (IFailoverStrategyPtr strategy)
 
virtual void receiveOperationsServerList ()
 
virtual void useNextOperationsServer (const TransportProtocolId &protocolId, KaaFailoverReason reason)
 
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 33 of file BootstrapManager.hpp.

Constructor & Destructor Documentation

kaa::BootstrapManager::BootstrapManager ( IKaaClientContext context,
IKaaClient client 
)
inline

Definition at line 35 of file BootstrapManager.hpp.

kaa::BootstrapManager::~BootstrapManager ( )
inline

Definition at line 42 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::setFailoverStrategy ( IFailoverStrategyPtr  strategy)
virtual
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,
KaaFailoverReason  failoverReason 
)
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
Parameters
failoverReasonThe reason why failover occured.

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: