client-cpp
0.0.1-SNAPSHOT
|
#include <KaaChannelManager.hpp>
Public Member Functions | |
KaaChannelManager (IBootstrapManager &manager, const BootstrapServers &servers) | |
virtual void | addChannel (IDataChannelPtr channel) |
virtual void | removeChannel (IDataChannelPtr channel) |
virtual std::list < IDataChannelPtr > | getChannels () |
virtual std::list < IDataChannelPtr > | getChannelsByType (ChannelType type) |
virtual IDataChannelPtr | getChannelByTransportType (TransportType type) |
virtual IDataChannelPtr | getChannel (const std::string &channelId) |
virtual void | onServerUpdated (IServerInfoPtr server) |
virtual void | onServerFailed (IServerInfoPtr server) |
virtual void | clearChannelList () |
virtual IServerInfoPtr | getPingServer () |
virtual void | setConnectivityChecker (ConnectivityCheckerPtr checker) |
Public Member Functions inherited from kaa::IKaaChannelManager | |
virtual | ~IKaaChannelManager () |
Public Member Functions inherited from kaa::IPingServerStorage | |
virtual | ~IPingServerStorage () |
Definition at line 34 of file KaaChannelManager.hpp.
kaa::KaaChannelManager::KaaChannelManager | ( | IBootstrapManager & | manager, |
const BootstrapServers & | servers | ||
) |
|
virtual |
Updates the manager by adding the channel.
channel | channel to be added. |
Implements kaa::IKaaChannelManager.
|
virtual |
Clears the list of channels.
Implements kaa::IKaaChannelManager.
|
virtual |
Retrieves channel by the unique channel id.
id | the channel's id. |
Implements kaa::IKaaChannelManager.
|
virtual |
Retrieves the list of channels by the specific transport type.
type | the transport's type. |
Implements kaa::IKaaChannelManager.
|
virtual |
Retrieves the list of current channels.
Implements kaa::IKaaChannelManager.
|
virtual |
Retrieves the list of channels by the specific type (HTTP, HTTP_LP, BOOTSTRAP and etc.).
type | type of the channel. |
Implements kaa::IKaaChannelManager.
|
inlinevirtual |
Implements kaa::IPingServerStorage.
Definition at line 52 of file KaaChannelManager.hpp.
|
virtual |
Reports to Channel Manager in case link with server was not established.
server | the parameters of server that was not connected. |
Implements kaa::IKaaChannelManager.
|
virtual |
Reports to Channel Manager about the new server.
newServer | the parameters of the new server. |
Implements kaa::IKaaChannelManager.
|
virtual |
Updates the manager by removing the channel from the manager.
channel | channel to be removed. |
Implements kaa::IKaaChannelManager.
|
virtual |
Sets connectivity checker to the current channel.
checker | platform-dependent connectivity checker. |
Implements kaa::IKaaChannelManager.