client-cpp  0.10.0
kaa::IBootstrapManager Class Referenceabstract

#include <IBootstrapManager.hpp>

+ Inheritance diagram for kaa::IBootstrapManager:

Public Member Functions

virtual void setFailoverStrategy (IFailoverStrategyPtr strategy)=0
 
virtual void receiveOperationsServerList ()=0
 
virtual void onOperationsServerFailed (const TransportProtocolId &protocolId, KaaFailoverReason failoverReason)=0
 
virtual void useNextOperationsServerByAccessPointId (std::int32_t id)=0
 
virtual void setTransport (IBootstrapTransport *transport)=0
 
virtual void setChannelManager (IKaaChannelManager *manager)=0
 
virtual void onServerListUpdated (const std::vector< ProtocolMetaData > &operationsServers)=0
 
virtual ~IBootstrapManager ()
 

Detailed Description

Bootstrap manager manages the list of available operation servers.

Definition at line 35 of file IBootstrapManager.hpp.

Constructor & Destructor Documentation

virtual kaa::IBootstrapManager::~IBootstrapManager ( )
inlinevirtual

Definition at line 91 of file IBootstrapManager.hpp.

Member Function Documentation

virtual void kaa::IBootstrapManager::onOperationsServerFailed ( const TransportProtocolId protocolId,
KaaFailoverReason  failoverReason 
)
pure 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.

Implemented in kaa::BootstrapManager.

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

Updates the operation server list.

Parameters
listthe operation server list.
See Also
OperationsServerList

Implemented in kaa::BootstrapManager.

virtual void kaa::IBootstrapManager::receiveOperationsServerList ( )
pure virtual

Receives the latest list of servers from the bootstrap service.

Implemented in kaa::BootstrapManager.

virtual void kaa::IBootstrapManager::setChannelManager ( IKaaChannelManager manager)
pure virtual

Sets Channel manager.

Parameters
managerthe channel manager to be set.
See Also
IKaaChannelManager

Implemented in kaa::BootstrapManager.

virtual void kaa::IBootstrapManager::setFailoverStrategy ( IFailoverStrategyPtr  strategy)
pure virtual

Implemented in kaa::BootstrapManager.

virtual void kaa::IBootstrapManager::setTransport ( IBootstrapTransport transport)
pure virtual

Sets bootstrap transport object.

Parameters
transportobject to be set.
See Also
IBootstrapTransport

Implemented in kaa::BootstrapManager.

virtual void kaa::IBootstrapManager::useNextOperationsServerByAccessPointId ( std::int32_t  id)
pure virtual

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

Parameters
nameendpoint's DNS.

Implemented in kaa::BootstrapManager.


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