client-cpp  0.10.0
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, IKaaClientContext &context)
 
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, IKaaClientContext &context)
 
- 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_
 
IKaaClientContextcontext_
 

Detailed Description

Definition at line 33 of file ProfileTransport.hpp.

Constructor & Destructor Documentation

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

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 45 of file ProfileTransport.hpp.

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

Sends the update request to the server.

Implements kaa::IProfileTransport.

Definition at line 39 of file ProfileTransport.hpp.


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