client-cpp  0.6.3
kaa::ProfileTransport Class Reference

#include <ProfileTransport.hpp>

+ Inheritance diagram for kaa::ProfileTransport:
+ Collaboration diagram for kaa::ProfileTransport:

Public Member Functions

 ProfileTransport (IKaaChannelManager &channelManager, const PublicKey &publicKey)
 
virtual void sync ()
 
virtual ProfileSyncRequestPtr createProfileRequest ()
 
virtual void onProfileResponse (const ProfileSyncResponse &response)
 
virtual void setProfileManager (IProfileManager *manager)
 
- Public Member Functions inherited from kaa::AbstractKaaTransport< TransportType::PROFILE >
virtual ~AbstractKaaTransport ()
 
 AbstractKaaTransport (IKaaChannelManager &channelManager)
 
virtual void setClientState (IKaaClientStateStoragePtr status)
 
- Public Member Functions inherited from kaa::IKaaTransport
virtual ~IKaaTransport ()
 
- Public Member Functions inherited from kaa::IProfileTransport
virtual ~IProfileTransport ()
 

Additional Inherited Members

- Protected Member Functions inherited from kaa::AbstractKaaTransport< TransportType::PROFILE >
void syncByType (TransportType transportType=Type)
 
void syncAll ()
 
void syncAck (TransportType transportType=Type)
 
- Protected Attributes inherited from kaa::AbstractKaaTransport< TransportType::PROFILE >
const TransportType type_
 
IKaaChannelManagerchannelManager_
 
IKaaClientStateStoragePtr clientStatus_
 

Detailed Description

Definition at line 32 of file ProfileTransport.hpp.

Constructor & Destructor Documentation

kaa::ProfileTransport::ProfileTransport ( IKaaChannelManager channelManager,
const PublicKey publicKey 
)

Member Function Documentation

virtual ProfileSyncRequestPtr kaa::ProfileTransport::createProfileRequest ( )
virtual

Creates a new Profile update request.

Returns
new Profile update request.
See also
ProfileSyncRequest

Implements kaa::IProfileTransport.

virtual void kaa::ProfileTransport::onProfileResponse ( const ProfileSyncResponse &  response)
virtual

Updates the state of the Profile manager from the given response.

Parameters
responsethe response from the server.
See also
ProfileSyncResponse

Implements kaa::IProfileTransport.

virtual void kaa::ProfileTransport::setProfileManager ( IProfileManager manager)
inlinevirtual

Sets the given Profile manager.

Parameters
managerthe Profile manager to be set.
See also
ProfileManager

Implements kaa::IProfileTransport.

Definition at line 47 of file ProfileTransport.hpp.

virtual void kaa::ProfileTransport::sync ( )
inlinevirtual

Sets the specific IKaaChannelManager for the current transport.

Parameters
channelManagermanager to be set.

Implements kaa::IKaaTransport.

Definition at line 39 of file ProfileTransport.hpp.


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