#include <IKaaChannelManager.hpp>
Channel manager establishes/removes channels' links between client and server.
Definition at line 34 of file IKaaChannelManager.hpp.
virtual kaa::IKaaChannelManager::~IKaaChannelManager |
( |
| ) |
|
|
inlinevirtual |
virtual void kaa::IKaaChannelManager::addChannel |
( |
IDataChannelPtr |
channel | ) |
|
|
pure virtual |
virtual void kaa::IKaaChannelManager::clearChannelList |
( |
| ) |
|
|
pure virtual |
virtual IDataChannelPtr kaa::IKaaChannelManager::getChannel |
( |
const std::string & |
channelId | ) |
|
|
pure virtual |
virtual std::list<IDataChannelPtr> kaa::IKaaChannelManager::getChannels |
( |
| ) |
|
|
pure virtual |
virtual std::list<IDataChannelPtr> kaa::IKaaChannelManager::getChannelsByType |
( |
ChannelType |
type | ) |
|
|
pure virtual |
Retrieves a list of channels by the specific type (HTTP, HTTP_LP, BOOTSTRAP and etc.).
- Parameters
-
- Returns
- a list of channels.
- See also
- ChannelType
-
IDataChannel
Implemented in kaa::KaaChannelManager.
virtual void kaa::IKaaChannelManager::onServerFailed |
( |
IServerInfoPtr |
server | ) |
|
|
pure virtual |
Reports to Channel Manager in case link with server was not established.
- Parameters
-
server | the parameters of server that was not connected. |
- See also
- IServerInfo
Implemented in kaa::KaaChannelManager.
virtual void kaa::IKaaChannelManager::onServerUpdated |
( |
IServerInfoPtr |
newServer | ) |
|
|
pure virtual |
virtual void kaa::IKaaChannelManager::pause |
( |
| ) |
|
|
pure virtual |
virtual void kaa::IKaaChannelManager::removeChannel |
( |
const std::string & |
id | ) |
|
|
pure virtual |
Updates the manager by removing the channel from the manager.
- Parameters
-
- See also
- KaaDataChannel
Implemented in kaa::KaaChannelManager.
virtual void kaa::IKaaChannelManager::removeChannel |
( |
IDataChannelPtr |
channel | ) |
|
|
pure virtual |
virtual void kaa::IKaaChannelManager::resume |
( |
| ) |
|
|
pure virtual |
Updates the manager by setting the channel to the specified transport type.
- Parameters
-
type | the type of the transport which is going to receive updates using the specified channel. |
channel | the channel to be added. |
- See also
- IDataChannel
Implemented in kaa::KaaChannelManager.
virtual void kaa::IKaaChannelManager::shutdown |
( |
| ) |
|
|
pure virtual |
Shuts down the manager and all registered channels. The instance can no longer be used.
Implemented in kaa::KaaChannelManager.
The documentation for this class was generated from the following file: