client-cpp
0.10.0
|
#include <AbstractHttpChannel.hpp>
Public Member Functions | |
AbstractHttpChannel (IKaaChannelManager &channelManager, const KeyPair &clientKeys, IKaaClientContext &context) | |
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 (ITransportConnectionInfoPtr server) |
virtual ITransportConnectionInfoPtr | getServer () |
virtual TransportProtocolId | getTransportProtocolId () const |
virtual void | setFailoverStrategy (IFailoverStrategyPtr strategy) |
virtual void | setConnectivityChecker (ConnectivityCheckerPtr checker) |
Public Member Functions inherited from kaa::ImpermanentDataChannel | |
virtual | ~ImpermanentDataChannel () |
virtual void | resume () |
virtual void | pause () |
virtual void | shutdown () |
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 std::shared_ptr < IPTransportInfo > | IPTransportInfoPtr |
Protected Member Functions | |
HttpDataProcessor * | getHttpDataProcessor () |
virtual void | processTypes (const std::map< TransportType, ChannelDirection > &types) |
virtual std::string | getURLSuffix ()=0 |
Definition at line 48 of file AbstractHttpChannel.hpp.
|
protected |
Definition at line 76 of file AbstractHttpChannel.hpp.
kaa::AbstractHttpChannel::AbstractHttpChannel | ( | IKaaChannelManager & | channelManager, |
const KeyPair & | clientKeys, | ||
IKaaClientContext & | context | ||
) |
|
inlineprotected |
Definition at line 78 of file AbstractHttpChannel.hpp.
|
inlinevirtual |
Retrieves current used server.
Implements kaa::IDataChannel.
Definition at line 62 of file AbstractHttpChannel.hpp.
|
inlinevirtual |
Retrieves the TransportProtocolId.
Implements kaa::IDataChannel.
Definition at line 66 of file AbstractHttpChannel.hpp.
|
protectedpure virtual |
Implemented in kaa::DefaultBootstrapChannel.
|
protectedvirtual |
|
inlinevirtual |
Sets connectivity checker to the current channel.
checker | platform-dependent connectivity checker. |
Implements kaa::IDataChannel.
Definition at line 71 of file AbstractHttpChannel.hpp.
|
virtual |
Sets the request multiplexer for this channel.
multiplexer | multiplexer instance to be set. |
Implements kaa::IDataChannel.
|
inlinevirtual |
Implements kaa::IDataChannel.
Definition at line 70 of file AbstractHttpChannel.hpp.
|
virtual |
Sets the response demultiplexer for this channel.
demultiplexer | demultiplexer instance to be set. |
Implements kaa::IDataChannel.
|
virtual |
Sets the connection data for the current channel.
connectionInfo | The server's connection data. |
Implements kaa::IDataChannel.
|
virtual |
Updates the channel's state of the specific service.
type | transport type of the service. |
Implements kaa::IDataChannel.
|
virtual |
Updates the channel's state of all supported services.
Implements kaa::IDataChannel.
|
virtual |
Updates the channel's state of all supported services.
Implements kaa::IDataChannel.