![]() |
Fledge
An open source edge computing platform for industrial users
|
Public Member Functions | |
DataSender (NorthPlugin *plugin, DataLoad *loader, NorthService *north) | |
Constructor for the data sending class. | |
~DataSender () | |
Destructor for the data sender class. | |
void | sendThread () |
The sending thread entry point. | |
void | updatePlugin (NorthPlugin *plugin) |
void | pause () |
Cause the data sender process to pause sending data until a corresponding release call is made. More... | |
void | release () |
Release the paused data sender thread. More... | |
void | setPerfMonitor (PerformanceMonitor *perfMonitor) |
bool | isRunning () |
void | flushStatistics () |
Flush statistics to storage service. | |
bool | isDryRun () |
Check status of dryrun flag. More... | |
bool DataSender::isDryRun | ( | ) |
Check status of dryrun flag.
void DataSender::pause | ( | ) |
Cause the data sender process to pause sending data until a corresponding release call is made.
This call does not block until release is called, but does block until the current send completes.
Called by external classes that want to prevent interaction with the north plugin.
void DataSender::release | ( | ) |
Release the paused data sender thread.
Called by external classes that want to release interaction with thew north plugin.