| 
    client-cpp
    0.6.3
    
   | 
 
#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 TransportProtocolId | getTransportProtocolId () const =0 | 
| virtual ServerType | getServerType () const =0 | 
| virtual void | setMultiplexer (IKaaDataMultiplexer *multiplexer)=0 | 
| virtual void | setDemultiplexer (IKaaDataDemultiplexer *demultiplexer)=0 | 
| virtual void | setServer (ITransportConnectionInfoPtr connectionInfo)=0 | 
| virtual const std::map < TransportType, ChannelDirection > &  | getSupportedTransportTypes () const =0 | 
| virtual void | setConnectivityChecker (ConnectivityCheckerPtr checker)=0 | 
| virtual void | shutdown ()=0 | 
| virtual void | pause ()=0 | 
| virtual void | resume ()=0 | 
| virtual | ~IDataChannel () | 
Channel is responsible for sending/receiving data to/from the endpoint server.
Definition at line 38 of file IDataChannel.hpp.
      
  | 
  inlinevirtual | 
Definition at line 151 of file IDataChannel.hpp.
      
  | 
  pure virtual | 
Retrieves the channel's id. It should be unique in existing channels scope.
      
  | 
  pure virtual | 
Retrieves the channel's server type (i.e. BOOTSTRAP or OPERATIONS).
      
  | 
  pure virtual | 
Retrieves the map of transport types and their directions supported by this channel.
      
  | 
  pure virtual | 
      
  | 
  pure virtual | 
Pauses the channel's workflow. The channel should stop all network activity.
Implemented in kaa::ImpermanentDataChannel.
      
  | 
  pure virtual | 
Resumes the channel's workflow. The channel should restore the previous connection.
Implemented in kaa::ImpermanentDataChannel.
      
  | 
  pure virtual | 
Sets connectivity checker to the current channel.
| checker | platform-dependent connectivity checker. | 
      
  | 
  pure virtual | 
Sets the request multiplexer for this channel.
| multiplexer | multiplexer instance to be set. | 
      
  | 
  pure virtual | 
Sets the response demultiplexer for this channel.
| demultiplexer | demultiplexer instance to be set. | 
      
  | 
  pure virtual | 
Sets the connection data for the current channel.
| connectionInfo | The server's connection data. | 
      
  | 
  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.
      
  | 
  pure virtual | 
Updates the channel's state of the specific service.
| type | transport type of the service. | 
      
  | 
  pure virtual | 
Updates the channel's state of all supported services.
      
  | 
  pure virtual | 
Updates the channel's state of all supported services.