client-cpp  0.6.1
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 (ChannelType type)
 
virtual void useNextOperationsServerByDnsName (const std::string &name)
 
virtual void setTransport (IBootstrapTransport *transport)
 
virtual void setChannelManager (IKaaChannelManager *manager)
 
virtual void onServerListUpdated (const OperationsServerList &list)
 
virtual const std::vector
< OperationsServer > & 
getOperationsServerList ()
 
- 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 const std::vector<OperationsServer>& kaa::BootstrapManager::getOperationsServerList ( )
virtual

Retrieves current list of servers.

Implements kaa::IBootstrapManager.

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