client-cpp  0.10.0
kaa::ITransportConnectionInfo Class Referenceabstract

#include <ITransportConnectionInfo.hpp>

+ Inheritance diagram for kaa::ITransportConnectionInfo:

Public Member Functions

virtual ServerType getServerType () const =0
 
virtual std::int32_t getAccessPointId () const =0
 
virtual TransportProtocolId getTransportId () const =0
 
virtual const std::vector
< std::uint8_t > & 
getConnectionInfo () const =0
 
virtual bool isFailedState () const =0
 
virtual void setFailedState ()=0
 
virtual void resetFailedState ()=0
 
virtual ~ITransportConnectionInfo ()
 

Detailed Description

Interface to represent a server connection information.

Used by IKaaDataChannel and IKaaChannelManager.

Definition at line 34 of file ITransportConnectionInfo.hpp.

Constructor & Destructor Documentation

virtual kaa::ITransportConnectionInfo::~ITransportConnectionInfo ( )
inlinevirtual

Definition at line 78 of file ITransportConnectionInfo.hpp.

Member Function Documentation

virtual std::int32_t kaa::ITransportConnectionInfo::getAccessPointId ( ) const
pure virtual

Retrieves the access point id (operations/bootstrap service id).

Returns
The access point id.

Implemented in kaa::GenericTransportInfo.

virtual const std::vector<std::uint8_t>& kaa::ITransportConnectionInfo::getConnectionInfo ( ) const
pure virtual

Retrieves serialized connection data.

Serialization may be specific for each transport protocol implementation.

Returns
The serialized connection data.

Implemented in kaa::GenericTransportInfo.

virtual ServerType kaa::ITransportConnectionInfo::getServerType ( ) const
pure virtual

Retrieves the channel's server type (i.e. OPERATIONS or BOOTSTRAP).

Returns
The channel's server type.
See Also
ServerType

Implemented in kaa::GenericTransportInfo.

virtual TransportProtocolId kaa::ITransportConnectionInfo::getTransportId ( ) const
pure virtual

Retrieves the TransportProtocolId.

Returns
The transport protocol id.
See Also
TransportProtocolId

Implemented in kaa::GenericTransportInfo.

virtual bool kaa::ITransportConnectionInfo::isFailedState ( ) const
pure virtual

Implemented in kaa::GenericTransportInfo.

virtual void kaa::ITransportConnectionInfo::resetFailedState ( )
pure virtual

Implemented in kaa::GenericTransportInfo.

virtual void kaa::ITransportConnectionInfo::setFailedState ( )
pure virtual

Implemented in kaa::GenericTransportInfo.


The documentation for this class was generated from the following file: