client-cpp
0.10.0
|
#include <IKaaChannelManager.hpp>
Public Member Functions | |
virtual void | setFailoverStrategy (IFailoverStrategyPtr strategy)=0 |
virtual void | setChannel (TransportType type, IDataChannelPtr channel)=0 |
virtual void | addChannel (IDataChannelPtr channel)=0 |
virtual void | removeChannel (const std::string &id)=0 |
virtual void | removeChannel (IDataChannelPtr channel)=0 |
virtual std::list < IDataChannelPtr > | getChannels ()=0 |
virtual IDataChannelPtr | getChannelByTransportType (TransportType type)=0 |
virtual IDataChannelPtr | getChannel (const std::string &channelId)=0 |
virtual void | onServerFailed (ITransportConnectionInfoPtr connectionInfo, KaaFailoverReason reason)=0 |
virtual void | onConnected (const EndpointConnectionInfo &connection)=0 |
virtual void | onTransportConnectionInfoUpdated (ITransportConnectionInfoPtr connectionInfo)=0 |
virtual void | clearChannelList ()=0 |
virtual void | setConnectivityChecker (ConnectivityCheckerPtr checker)=0 |
virtual void | shutdown ()=0 |
virtual void | pause ()=0 |
virtual void | resume ()=0 |
virtual | ~IKaaChannelManager () |
Channel manager establishes/removes channels' links between client and server.
Definition at line 35 of file IKaaChannelManager.hpp.
|
inlinevirtual |
Definition at line 170 of file IKaaChannelManager.hpp.
|
pure virtual |
Updates the manager by adding the channel.
channel | the 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 a list of current channels.
Implemented in kaa::KaaChannelManager.
|
pure virtual |
Reports to Channel Manager about successful connection.
connection | connection metadata. |
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. |
reason | The reason which caused failure. |
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 |
Pauses all active channels.
Implemented in kaa::KaaChannelManager.
|
pure virtual |
Updates the manager by removing the channel from the manager.
id | the channel's id. |
Implemented in kaa::KaaChannelManager.
|
pure virtual |
Updates the manager by removing the channel from the manager.
channel | the channel to be removed. |
Implemented in kaa::KaaChannelManager.
|
pure virtual |
Restores channels' activity.
Implemented in kaa::KaaChannelManager.
|
pure virtual |
Updates the manager by setting the channel to the specified transport type.
type | the type of the transport which is going to receive updates using the specified channel. |
channel | the channel to be added. |
Implemented in kaa::KaaChannelManager.
|
pure virtual |
Sets connectivity checker to the current channel.
checker | platform-dependent connectivity checker. |
Implemented in kaa::KaaChannelManager.
|
pure virtual |
Implemented in kaa::KaaChannelManager.
|
pure virtual |
Shuts down the manager and all registered channels. The instance can no longer be used.
Implemented in kaa::KaaChannelManager.