| 
    client-cpp
    0.7.0
    
   | 
 
#include <DefaultOperationLongPollChannel.hpp>
 Inheritance diagram for kaa::DefaultOperationLongPollChannel:
 Collaboration diagram for kaa::DefaultOperationLongPollChannel:Public Member Functions | |
| DefaultOperationLongPollChannel (IKaaChannelManager *channelManager, const KeyPair &clientKeys) | |
| virtual | ~DefaultOperationLongPollChannel () | 
| virtual void | sync (TransportType type) | 
| virtual void | syncAll () | 
| virtual void | syncAck (TransportType type) | 
| virtual const std::string & | getId () const | 
| virtual TransportProtocolId | getTransportProtocolId () const | 
| virtual ServerType | getServerType () const | 
| virtual void | setMultiplexer (IKaaDataMultiplexer *multiplexer) | 
| virtual void | setDemultiplexer (IKaaDataDemultiplexer *demultiplexer) | 
| virtual void | setServer (ITransportConnectionInfoPtr server) | 
| virtual const std::map < TransportType, ChannelDirection > &  | getSupportedTransportTypes () const | 
| virtual void | shutdown () | 
| virtual void | pause () | 
| virtual void | resume () | 
| virtual void | setConnectivityChecker (ConnectivityCheckerPtr checker) | 
| virtual ITransportConnectionInfoPtr | getServer () | 
  Public Member Functions inherited from kaa::IDataChannel | |
| virtual | ~IDataChannel () | 
Protected Member Functions | |
| std::string | getURLSuffix () | 
Definition at line 40 of file DefaultOperationLongPollChannel.hpp.
| kaa::DefaultOperationLongPollChannel::DefaultOperationLongPollChannel | ( | IKaaChannelManager * | channelManager, | 
| const KeyPair & | clientKeys | ||
| ) | 
      
  | 
  virtual | 
      
  | 
  inlinevirtual | 
Retrieves the channel's id. It should be unique in existing channels scope.
Implements kaa::IDataChannel.
Definition at line 48 of file DefaultOperationLongPollChannel.hpp.
      
  | 
  inlinevirtual | 
Retrieves current used server.
Implements kaa::IDataChannel.
Definition at line 72 of file DefaultOperationLongPollChannel.hpp.
      
  | 
  inlinevirtual | 
Retrieves the channel's server type (i.e. BOOTSTRAP or OPERATIONS).
Implements kaa::IDataChannel.
Definition at line 54 of file DefaultOperationLongPollChannel.hpp.
      
  | 
  inlinevirtual | 
Retrieves the map of transport types and their directions supported by this channel.
Implements kaa::IDataChannel.
Definition at line 62 of file DefaultOperationLongPollChannel.hpp.
      
  | 
  inlinevirtual | 
Retrieves the TransportProtocolId.
Implements kaa::IDataChannel.
Definition at line 50 of file DefaultOperationLongPollChannel.hpp.
      
  | 
  inlineprotected | 
Definition at line 77 of file DefaultOperationLongPollChannel.hpp.
      
  | 
  virtual | 
Pauses the channel's workflow. The channel should stop all network activity.
Implements kaa::IDataChannel.
      
  | 
  virtual | 
Resumes the channel's workflow. The channel should restore the previous connection.
Implements kaa::IDataChannel.
      
  | 
  inlinevirtual | 
Sets connectivity checker to the current channel.
| checker | platform-dependent connectivity checker. | 
Implements kaa::IDataChannel.
Definition at line 70 of file DefaultOperationLongPollChannel.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 connection data for the current channel.
| connectionInfo | The server's connection data. | 
Implements kaa::IDataChannel.
      
  | 
  virtual | 
Shuts down the channel instance. All connections and threads should be terminated. The instance can no longer be used.
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.