client-cpp
0.10.0
|
#include <ConfigurationManager.hpp>
This class is responsible for correct configuration delta merging and contains root configuration tree. notifies registered observers (derived from IConfigurationReceiver) with root configuration object presented as KaaRootConfiguration.
Definition at line 42 of file ConfigurationManager.hpp.
kaa::ConfigurationManager::ConfigurationManager | ( | IKaaClientContext & | context | ) |
|
inlinevirtualnoexcept |
Definition at line 73 of file ConfigurationManager.hpp.
|
virtual |
Subscribes listener of configuration updates.
receiver | Listener to be added to notification list. |
Implements kaa::IConfigurationManager.
|
virtual |
Returns full configuration tree which is actual at current moment.
Implements kaa::IConfigurationManager.
|
inlinevirtual |
Retrieves configuration data hash.
Implements kaa::IConfigurationHashContainer.
Definition at line 68 of file ConfigurationManager.hpp.
|
inlinevirtual |
Implements kaa::IConfigurationManager.
Definition at line 63 of file ConfigurationManager.hpp.
|
inlinevirtual |
Implements kaa::IConfigurationManager.
Definition at line 58 of file ConfigurationManager.hpp.
|
virtual |
Implements kaa::IConfigurationManager.
|
virtual |
Routine for processing received configuration data.
data | Pointer to a memory where configuration data is placed. |
data_length | Size of configuration data. |
full_resunc | Signals if data contains full configuration resync or partial update |
Implements kaa::IConfigurationProcessor.
|
virtual |
Unsubscribes listener of configuration updates.
receiver | Listener to be removed from notification list. |
Implements kaa::IConfigurationManager.
|
virtual |
Provide storage object which is able to persist encoded configuration data.
storage | Object which will save and load configuration data |
Implements kaa::IConfigurationManager.