client-cpp
0.10.0
|
#include <IConfigurationStorage.hpp>
Public Member Functions | |
virtual void | saveConfiguration (const std::vector< std::uint8_t > &bytes)=0 |
virtual std::vector< std::uint8_t > | loadConfiguration ()=0 |
virtual void | clearConfiguration ()=0 |
virtual | ~IConfigurationStorage ()=default |
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.
|
virtualdefault |
|
pure virtual |
Clear configuration data (file).
Implemented in kaa::FileConfigurationStorage.
|
pure virtual |
Specifies routine to load configuration data.
Implemented in kaa::FileConfigurationStorage.
|
pure virtual |
Specifies routine to persist configuration data.
bytes | Configuration binary data. |
Implemented in kaa::FileConfigurationStorage.