client-cpp  0.10.0
kaa::ProfileManager Class Reference

#include <ProfileManager.hpp>

+ Inheritance diagram for kaa::ProfileManager:
+ Collaboration diagram for kaa::ProfileManager:

Public Member Functions

 ProfileManager (IKaaClientContext &context)
 
virtual void setProfileContainer (IProfileContainerPtr container)
 
SharedDataBuffer getSerializedProfile ()
 
void updateProfile ()
 
virtual bool isInitialized ()
 
virtual void setTransport (IProfileTransportPtr transport)
 
- Public Member Functions inherited from kaa::IProfileManager
virtual ~IProfileManager ()
 

Detailed Description

Default profile manager Responsible for the profile container management and ProfileListener creation

Definition at line 36 of file ProfileManager.hpp.

Constructor & Destructor Documentation

kaa::ProfileManager::ProfileManager ( IKaaClientContext context)
inline

Definition at line 38 of file ProfileManager.hpp.

Member Function Documentation

SharedDataBuffer kaa::ProfileManager::getSerializedProfile ( )
inlinevirtual

Retrieves serialized profile

Returns
byte array with serialized profile

Implements kaa::IProfileManager.

Definition at line 57 of file ProfileManager.hpp.

virtual bool kaa::ProfileManager::isInitialized ( )
inlinevirtual

Check if a profile container is set what is mandatory in case of a non-default profile.

Implements kaa::IProfileManager.

Definition at line 85 of file ProfileManager.hpp.

virtual void kaa::ProfileManager::setProfileContainer ( IProfileContainerPtr  container)
inlinevirtual

Sets profile container implemented by the user

Parameters
containeruser-defined container

Implements kaa::IProfileManager.

Definition at line 44 of file ProfileManager.hpp.

virtual void kaa::ProfileManager::setTransport ( IProfileTransportPtr  transport)
inlinevirtual

Sets profile transport

Parameters
Profiletransport

Definition at line 98 of file ProfileManager.hpp.

void kaa::ProfileManager::updateProfile ( )
inlinevirtual

Notifies server that profile has been updated.

Implements kaa::IProfileManager.

Definition at line 76 of file ProfileManager.hpp.


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