#include <IDataChannel.hpp>
Channel is responsible for sending/receiving data to/from the endpoint server.
Definition at line 41 of file IDataChannel.hpp.
virtual kaa::IDataChannel::~IDataChannel |
( |
| ) |
|
|
inlinevirtual |
virtual ChannelType kaa::IDataChannel::getChannelType |
( |
| ) |
const |
|
pure virtual |
Retrieves the channel's type (i.e. HTTP, TCP, etc.).
- Returns
- the channel's type.
- See also
- ChannelType
virtual const std::string& kaa::IDataChannel::getId |
( |
| ) |
const |
|
pure virtual |
Retrieves the channel's id. It should be unique in existing channels scope.
- Returns
- the channel's id.
virtual ServerType kaa::IDataChannel::getServerType |
( |
| ) |
const |
|
pure virtual |
Retrieves the channel's server type (i.e. BOOTSTRAP or OPERATIONS).
- Returns
- the channel's type.
- See also
- ServerType
Retrieves the map of transport types and their directions supported by this channel.
- Returns
- the map of transport types.
- See also
- TransportType
-
ChannelDirection
virtual void kaa::IDataChannel::pause |
( |
| ) |
|
|
pure virtual |
virtual void kaa::IDataChannel::resume |
( |
| ) |
|
|
pure virtual |
Sets connectivity checker to the current channel.
- Parameters
-
checker | platform-dependent connectivity checker. |
- See also
- IConnectivityChecker
Sets the request multiplexer for this channel.
- Parameters
-
multiplexer | multiplexer instance to be set. |
- See also
- IKaaDataMultiplexer
Sets the response demultiplexer for this channel.
- Parameters
-
demultiplexer | demultiplexer instance to be set. |
- See also
- IKaaDataDemultiplexer
Sets the server's parameters for the current channel.
- Parameters
-
server | server's parameters. |
- See also
- IServerInfo
virtual void kaa::IDataChannel::shutdown |
( |
| ) |
|
|
pure virtual |
Shuts down the channel instance. All connections and threads should be terminated. The instance can no longer be used.
Implemented in kaa::ImpermanentDataChannel.
Updates the channel's state of the specific service.
- Parameters
-
type | transport type of the service. |
- See also
- TransportType
Updates the channel's state of all supported services.
virtual void kaa::IDataChannel::syncAll |
( |
| ) |
|
|
pure virtual |
Updates the channel's state of all supported services.
The documentation for this class was generated from the following file:
- /var/lib/jenkins/workspace/kaa_v0.6.1/client/client-multi/client-cpp/kaa/channel/IDataChannel.hpp