client-cpp  0.10.0
kaa::IProfileTransport Class Referenceabstract

#include <IProfileTransport.hpp>

+ Inheritance diagram for kaa::IProfileTransport:

Public Member Functions

virtual ProfileSyncRequestPtr createProfileRequest ()=0
 
virtual void onProfileResponse (const ProfileSyncResponse &response)=0
 
virtual void setProfileManager (IProfileManager *manager)=0
 
virtual void sync ()=0
 
virtual ~IProfileTransport ()
 

Detailed Description

Updates the Profile manager state.

Definition at line 33 of file IProfileTransport.hpp.

Constructor & Destructor Documentation

virtual kaa::IProfileTransport::~IProfileTransport ( )
inlinevirtual

Definition at line 70 of file IProfileTransport.hpp.

Member Function Documentation

virtual ProfileSyncRequestPtr kaa::IProfileTransport::createProfileRequest ( )
pure virtual

Creates a new Profile update request.

Returns
new Profile update request.
See Also
ProfileSyncRequest

Implemented in kaa::ProfileTransport.

virtual void kaa::IProfileTransport::onProfileResponse ( const ProfileSyncResponse &  response)
pure virtual

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

Parameters
responsethe response from the server.
See Also
ProfileSyncResponse

Implemented in kaa::ProfileTransport.

virtual void kaa::IProfileTransport::setProfileManager ( IProfileManager manager)
pure virtual

Sets the given Profile manager.

Parameters
managerthe Profile manager to be set.
See Also
ProfileManager

Implemented in kaa::ProfileTransport.

virtual void kaa::IProfileTransport::sync ( )
pure virtual

Sends the update request to the server.

Implemented in kaa::ProfileTransport.


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