client-cpp  0.7.0
kaa::IConfigurationStorage Class Referenceabstract

#include <IConfigurationStorage.hpp>

+ Inheritance diagram for kaa::IConfigurationStorage:

Public Member Functions

virtual ~IConfigurationStorage ()
virtual void saveConfiguration (std::vector< std::uint8_t > &&bytes)=0
virtual std::vector< std::uint8_t > loadConfiguration ()=0

Detailed Description

Interface which is used by IConfigurationPersistenceManager to use user-defined routines for persisting/loading binary configuration data.

Should be defined by user.

Definition at line 32 of file IConfigurationStorage.hpp.

Constructor & Destructor Documentation

virtual kaa::IConfigurationStorage::~IConfigurationStorage ( )

Definition at line 34 of file IConfigurationStorage.hpp.

Member Function Documentation

virtual std::vector<std::uint8_t> kaa::IConfigurationStorage::loadConfiguration ( )
pure virtual

Specifies routine to load configuration data.

Configuration binary data.

Implemented in kaa::FileConfigurationStorage.

virtual void kaa::IConfigurationStorage::saveConfiguration ( std::vector< std::uint8_t > &&  bytes)
pure virtual

Specifies routine to persist configuration data.

bytesConfiguration binary data.

Implemented in kaa::FileConfigurationStorage.

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