client-cpp
0.0.1-SNAPSHOT
|
#include <AbstractHttpChannel.hpp>
Public Member Functions | |
AbstractHttpChannel (IKaaChannelManager *channelManager, const KeyPair &clientKeys) | |
virtual | ~AbstractHttpChannel () |
virtual void | sync (TransportType type) |
virtual void | syncAll () |
virtual void | syncAck (TransportType type) |
virtual void | setMultiplexer (IKaaDataMultiplexer *multiplexer) |
virtual void | setDemultiplexer (IKaaDataDemultiplexer *demultiplexer) |
virtual void | setServer (IServerInfoPtr server) |
virtual ChannelType | getChannelType () const |
virtual void | setConnectivityChecker (ConnectivityCheckerPtr checker) |
Public Member Functions inherited from kaa::IDataChannel | |
virtual const std::string & | getId () const =0 |
virtual ServerType | getServerType () const =0 |
virtual const std::map < TransportType, ChannelDirection > & | getSupportedTransportTypes () const =0 |
virtual | ~IDataChannel () |
Protected Types | |
typedef boost::shared_ptr < AbstractServerInfo< Type > > | AbstractServerInfoPtr |
Protected Member Functions | |
HttpDataProcessor * | getHttpDataProcessor () |
virtual void | processTypes (const std::map< TransportType, ChannelDirection > &types, boost::unique_lock< boost::mutex > &lock) |
Definition at line 42 of file AbstractHttpChannel.hpp.
|
protected |
Definition at line 59 of file AbstractHttpChannel.hpp.
kaa::AbstractHttpChannel< Type >::AbstractHttpChannel | ( | IKaaChannelManager * | channelManager, |
const KeyPair & | clientKeys | ||
) |
Definition at line 83 of file AbstractHttpChannel.hpp.
|
inlinevirtual |
Definition at line 45 of file AbstractHttpChannel.hpp.
|
inlinevirtual |
Retrieves the channel's type (i.e. HTTP, TCP, etc.).
Implements kaa::IDataChannel.
Definition at line 54 of file AbstractHttpChannel.hpp.
|
inlineprotected |
Definition at line 61 of file AbstractHttpChannel.hpp.
|
protectedvirtual |
Definition at line 88 of file AbstractHttpChannel.hpp.
|
inlinevirtual |
Sets connectivity checker to the current channel.
checker | platform-dependent connectivity checker. |
Implements kaa::IDataChannel.
Definition at line 56 of file AbstractHttpChannel.hpp.
|
virtual |
Sets the request multiplexer for this channel.
multiplexer | multiplexer instance to be set. |
Implements kaa::IDataChannel.
Definition at line 187 of file AbstractHttpChannel.hpp.
|
virtual |
Sets the response demultiplexer for this channel.
demultiplexer | demultiplexer instance to be set. |
Implements kaa::IDataChannel.
Definition at line 178 of file AbstractHttpChannel.hpp.
|
virtual |
Sets the server's parameters for the current channel.
server | server's parameters. |
Implements kaa::IDataChannel.
Definition at line 196 of file AbstractHttpChannel.hpp.
|
virtual |
Updates the channel's state of the specific service.
type | transport type of the service. |
Implements kaa::IDataChannel.
Definition at line 138 of file AbstractHttpChannel.hpp.
|
virtual |
Updates the channel's state of all supported services.
Implements kaa::IDataChannel.
Definition at line 172 of file AbstractHttpChannel.hpp.
|
virtual |
Updates the channel's state of all supported services.
Implements kaa::IDataChannel.
Definition at line 158 of file AbstractHttpChannel.hpp.