![]() |
Fledge
An open source edge computing platform for industrial users
|
The StorageService class. More...
#include <storage_service.h>
Public Member Functions | |
StorageService (const string &name) | |
Constructor for the storage service. | |
~StorageService () | |
Storage Service destructor. | |
void | start (std::string &coreAddress, unsigned short corePort) |
Start the storage service. | |
void | stop () |
Stop the storage service/. | |
void | shutdown () |
Shutdown request. | |
void | restart () |
Restart request. | |
bool | isRunning () |
void | configChange (const std::string &, const std::string &) |
Configuration change notification. | |
void | configChildCreate (const std::string &, const std::string &, const std::string &) |
void | configChildDelete (const std::string &, const std::string &) |
string | getPluginName () |
Return the name of the configured storage service. | |
string | getPluginManagedStatus () |
Return the managed status of the storage plugin. | |
string | getReadingPluginName () |
Return the name of the configured reading plugin. | |
void | setLogLevel (std::string level) |
![]() | |
virtual bool | securityChange (const std::string &payload) |
The StorageService class.
This class is the core of the service that offers access to the Fledge storage layer. It maintains the API and provides the hooks for incoming management API requests.