#include <WakeOnAccess.h>
◆ GetInstance()
◆ OnJobComplete()
void CWakeOnAccess::OnJobComplete |
( |
unsigned int | jobID, |
|
|
bool | success, |
|
|
CJob * | job ) |
|
overridevirtual |
The callback used when a job completes.
OnJobComplete is called at the completion of the job's DoWork() function, and is used to return information to the caller on the result of the job. On returning form this function the CJobManager will destroy this job.
- Parameters
-
jobID | the unique id of the job (as retrieved from CJobManager::AddJob) |
success | the result from the DoWork call |
job | the job that has been processed. The job will be destroyed after this function returns |
- See also
- CJobManager and CJob
Implements IJobCallback.
◆ OnSettingChanged()
void CWakeOnAccess::OnSettingChanged |
( |
const std::shared_ptr< const CSetting > & | setting | ) |
|
|
overridevirtual |
The value of the given setting has changed.
This callback is triggered whenever the value of a setting has been successfully changed (i.e. none of the OnSettingChanging() handlers) has reverted the change.
- Parameters
-
setting | The setting whose value has been changed |
Reimplemented from ISettingCallback.
◆ OnSettingsLoaded()
void CWakeOnAccess::OnSettingsLoaded |
( |
| ) |
|
|
overridevirtual |
Settings have been loaded.
This callback can be used to trigger loading other settings.
Reimplemented from ISettingsHandler.
◆ QueueMACDiscoveryForAllRemotes()
void CWakeOnAccess::QueueMACDiscoveryForAllRemotes |
( |
| ) |
|
◆ WakeUpHost() [1/2]
bool CWakeOnAccess::WakeUpHost |
( |
const CURL & | fileUrl | ) |
|
◆ WakeUpHost() [2/2]
bool CWakeOnAccess::WakeUpHost |
( |
const std::string & | hostName, |
|
|
const std::string & | customMessage ) |
The documentation for this class was generated from the following files: