| 
    client-cpp
    0.0.1-SNAPSHOT
    
   | 
 
#include <DefaultOperationTcpChannel.hpp>
 Inheritance diagram for kaa::DefaultOperationTcpChannel:
 Collaboration diagram for kaa::DefaultOperationTcpChannel:Public Member Functions | |
| DefaultOperationTcpChannel (IKaaChannelManager *channelManager, const KeyPair &clientKeys) | |
| virtual | ~DefaultOperationTcpChannel () | 
| virtual void | sync (TransportType type) | 
| virtual void | syncAll () | 
| virtual void | syncAck (TransportType type) | 
| virtual const std::string & | getId () const | 
| virtual ChannelType | getChannelType () const | 
| virtual void | setMultiplexer (IKaaDataMultiplexer *multiplexer) | 
| virtual void | setDemultiplexer (IKaaDataDemultiplexer *demultiplexer) | 
| virtual void | setServer (IServerInfoPtr server) | 
| virtual const std::map < TransportType, ChannelDirection > &  | getSupportedTransportTypes () const | 
| virtual ServerType | getServerType () const | 
| virtual void | setConnectivityChecker (ConnectivityCheckerPtr checker) | 
| void | onReadEvent (const boost::system::error_code &err) | 
| void | onPingTimeout (const boost::system::error_code &err) | 
| void | onConnack (const ConnackMessage &message) | 
| void | onDisconnect (const DisconnectMessage &message) | 
| void | onKaaSync (const KaaSyncResponse &message) | 
| void | onPingResponse () | 
| void | openConnection () | 
| void | closeConnection () | 
| void | onServerFailed () | 
  Public Member Functions inherited from kaa::IDataChannel | |
| virtual | ~IDataChannel () | 
Definition at line 35 of file DefaultOperationTcpChannel.hpp.
| kaa::DefaultOperationTcpChannel::DefaultOperationTcpChannel | ( | IKaaChannelManager * | channelManager, | 
| const KeyPair & | clientKeys | ||
| ) | 
      
  | 
  virtual | 
| void kaa::DefaultOperationTcpChannel::closeConnection | ( | ) | 
      
  | 
  inlinevirtual | 
Retrieves the channel's type (i.e. HTTP, TCP, etc.).
Implements kaa::IDataChannel.
Definition at line 45 of file DefaultOperationTcpChannel.hpp.
      
  | 
  inlinevirtual | 
Retrieves the channel's id. It should be unique in existing channels scope.
Implements kaa::IDataChannel.
Definition at line 44 of file DefaultOperationTcpChannel.hpp.
      
  | 
  inlinevirtual | 
Retrieves the channel's server type (i.e. BOOTSTRAP or OPERATIONS).
Implements kaa::IDataChannel.
Definition at line 53 of file DefaultOperationTcpChannel.hpp.
      
  | 
  inlinevirtual | 
Retrieves the map of transport types and their directions supported by this channel.
Implements kaa::IDataChannel.
Definition at line 51 of file DefaultOperationTcpChannel.hpp.
| void kaa::DefaultOperationTcpChannel::onConnack | ( | const ConnackMessage & | message | ) | 
| void kaa::DefaultOperationTcpChannel::onDisconnect | ( | const DisconnectMessage & | message | ) | 
| void kaa::DefaultOperationTcpChannel::onKaaSync | ( | const KaaSyncResponse & | message | ) | 
| void kaa::DefaultOperationTcpChannel::onPingResponse | ( | ) | 
| void kaa::DefaultOperationTcpChannel::onPingTimeout | ( | const boost::system::error_code & | err | ) | 
| void kaa::DefaultOperationTcpChannel::onReadEvent | ( | const boost::system::error_code & | err | ) | 
| void kaa::DefaultOperationTcpChannel::onServerFailed | ( | ) | 
| void kaa::DefaultOperationTcpChannel::openConnection | ( | ) | 
      
  | 
  inlinevirtual | 
Sets connectivity checker to the current channel.
| checker | platform-dependent connectivity checker. | 
Implements kaa::IDataChannel.
Definition at line 57 of file DefaultOperationTcpChannel.hpp.
      
  | 
  virtual | 
Sets the request multiplexer for this channel.
| multiplexer | multiplexer instance to be set. | 
Implements kaa::IDataChannel.
      
  | 
  virtual | 
Sets the response demultiplexer for this channel.
| demultiplexer | demultiplexer instance to be set. | 
Implements kaa::IDataChannel.
      
  | 
  virtual | 
Sets the server's parameters for the current channel.
| server | server's parameters. | 
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.