dca_interface
6.3.4
|
#include <base_classes.h>
An interface for schedule event notifications. Derive a class from this interface and implement onEvent() to receive notifications.
Definition at line 526 of file base_classes.h.
Public Member Functions | |
virtual void | onEvent (ScheduleActionType actionType, ScheduleModuleId moduleId, const std::string &version, const std::string &text)=0 |
Called by the schedule framework when a schedule event occurs. More... | |
|
pure virtual |
Called by the schedule framework when a schedule event occurs.
[in] | actionType | The event type |
[in] | moduleId | The associated module |
[in] | version | If available, the new version number of the module, otherwise the empty string |
[in] | text | Notification text. In case of SAT_ProgressDbDownload, the text contains the download progress as a percentage, eg "67.25" |
Implemented in MyIprScheduleEventSubscriber, MyMalwareScheduleEventSubscriber, MyUrlScheduleEventSubscriber, MyWacScheduleEventSubscriber, and MyScheduleEventSubscriber.