client-cpp  0.6.1
kaa::IBootstrapManager Class Referenceabstract

#include <IBootstrapManager.hpp>

+ Inheritance diagram for kaa::IBootstrapManager:

Public Member Functions

virtual void receiveOperationsServerList ()=0
 
virtual void useNextOperationsServer (ChannelType type)=0
 
virtual void useNextOperationsServerByDnsName (const std::string &name)=0
 
virtual void setTransport (IBootstrapTransport *transport)=0
 
virtual void setChannelManager (IKaaChannelManager *manager)=0
 
virtual void onServerListUpdated (const OperationsServerList &list)=0
 
virtual const std::vector
< OperationsServer > & 
getOperationsServerList ()=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 const std::vector<OperationsServer>& kaa::IBootstrapManager::getOperationsServerList ( )
pure virtual

Retrieves current list of servers.

Implemented in kaa::BootstrapManager.

virtual void kaa::IBootstrapManager::onServerListUpdated ( const OperationsServerList &  list)
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 ( ChannelType  type)
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::useNextOperationsServerByDnsName ( const std::string &  name)
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: