| 
    client-cpp
    0.0.1-SNAPSHOT
    
   | 
 
#include <IDataChannel.hpp>
 Inheritance diagram for kaa::IDataChannel:Public Member Functions | |
| virtual void | sync (TransportType type)=0 | 
| virtual void | syncAll ()=0 | 
| virtual void | syncAck (TransportType type)=0 | 
| virtual const std::string & | getId () const =0 | 
| virtual ChannelType | getChannelType () const =0 | 
| virtual ServerType | getServerType () const =0 | 
| virtual void | setMultiplexer (IKaaDataMultiplexer *multiplexer)=0 | 
| virtual void | setDemultiplexer (IKaaDataDemultiplexer *demultiplexer)=0 | 
| virtual void | setServer (IServerInfoPtr server)=0 | 
| virtual const std::map < TransportType, ChannelDirection > &  | getSupportedTransportTypes () const =0 | 
| virtual void | setConnectivityChecker (ConnectivityCheckerPtr checker)=0 | 
| virtual | ~IDataChannel () | 
Channel is responsible for sending/receiving data to/from the endpoint server.
Definition at line 43 of file IDataChannel.hpp.
      
  | 
  inlinevirtual | 
Definition at line 138 of file IDataChannel.hpp.
      
  | 
  pure virtual | 
Retrieves the channel's type (i.e. HTTP, TCP, etc.).
Implemented in kaa::AbstractHttpChannel< Type >, kaa::AbstractHttpChannel< ChannelType::HTTP >, kaa::DefaultOperationTcpChannel, and kaa::DefaultOperationLongPollChannel.
      
  | 
  pure virtual | 
Retrieves the channel's id. It should be unique in existing channels scope.
Implemented in kaa::DefaultOperationTcpChannel, kaa::DefaultOperationLongPollChannel, kaa::DefaultBootstrapChannel, and kaa::DefaultOperationHttpChannel.
      
  | 
  pure virtual | 
Retrieves the channel's server type (i.e. BOOTSTRAP or OPERATIONS).
Implemented in kaa::DefaultOperationTcpChannel, and kaa::DefaultOperationLongPollChannel.
      
  | 
  pure virtual | 
Retrieves the map of transport types and their directions supported by this channel.
Implemented in kaa::DefaultOperationTcpChannel, kaa::DefaultOperationLongPollChannel, kaa::DefaultBootstrapChannel, and kaa::DefaultOperationHttpChannel.
      
  | 
  pure virtual | 
Sets connectivity checker to the current channel.
| checker | platform-dependent connectivity checker. | 
Implemented in kaa::DefaultOperationTcpChannel, kaa::AbstractHttpChannel< Type >, kaa::AbstractHttpChannel< ChannelType::HTTP >, and kaa::DefaultOperationLongPollChannel.
      
  | 
  pure virtual | 
Sets the request multiplexer for this channel.
| multiplexer | multiplexer instance to be set. | 
Implemented in kaa::AbstractHttpChannel< Type >, kaa::AbstractHttpChannel< ChannelType::HTTP >, kaa::DefaultOperationTcpChannel, and kaa::DefaultOperationLongPollChannel.
      
  | 
  pure virtual | 
Sets the response demultiplexer for this channel.
| demultiplexer | demultiplexer instance to be set. | 
Implemented in kaa::AbstractHttpChannel< Type >, kaa::AbstractHttpChannel< ChannelType::HTTP >, kaa::DefaultOperationTcpChannel, and kaa::DefaultOperationLongPollChannel.
      
  | 
  pure virtual | 
Sets the server's parameters for the current channel.
| server | server's parameters. | 
Implemented in kaa::AbstractHttpChannel< Type >, kaa::AbstractHttpChannel< ChannelType::HTTP >, kaa::DefaultOperationTcpChannel, and kaa::DefaultOperationLongPollChannel.
      
  | 
  pure virtual | 
Updates the channel's state of the specific service.
| type | transport type of the service. | 
Implemented in kaa::AbstractHttpChannel< Type >, kaa::AbstractHttpChannel< ChannelType::HTTP >, kaa::DefaultOperationTcpChannel, and kaa::DefaultOperationLongPollChannel.
      
  | 
  pure virtual | 
Updates the channel's state of all supported services.
Implemented in kaa::AbstractHttpChannel< Type >, kaa::AbstractHttpChannel< ChannelType::HTTP >, kaa::DefaultOperationTcpChannel, and kaa::DefaultOperationLongPollChannel.
      
  | 
  pure virtual | 
Updates the channel's state of all supported services.
Implemented in kaa::AbstractHttpChannel< Type >, kaa::AbstractHttpChannel< ChannelType::HTTP >, kaa::DefaultOperationTcpChannel, and kaa::DefaultOperationLongPollChannel.