client-cpp  0.7.0
kaa::IBootstrapManager Class Referenceabstract

#include <IBootstrapManager.hpp>

+ Inheritance diagram for kaa::IBootstrapManager:

Public Member Functions

virtual void receiveOperationsServerList ()=0
 
virtual void useNextOperationsServer (const TransportProtocolId &protocolId)=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 32 of file IBootstrapManager.hpp.

Constructor & Destructor Documentation

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

Definition at line 83 of file IBootstrapManager.hpp.

Member Function Documentation

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 server.

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::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::useNextOperationsServer ( const TransportProtocolId &  protocolId)
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

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: