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