dca_interface  6.3.4
dca::ScheduleEventSubscriberIntf Class Referenceabstract

#include <base_classes.h>

Inheritance diagram for dca::ScheduleEventSubscriberIntf:
MyIprScheduleEventSubscriber MyMalwareScheduleEventSubscriber MyScheduleEventSubscriber MyUrlScheduleEventSubscriber MyWacScheduleEventSubscriber

Detailed Description

An interface for schedule event notifications. Derive a class from this interface and implement onEvent() to receive notifications.

See also
DcaInstance::schedule()

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...
 

Member Function Documentation

◆ onEvent()

virtual void dca::ScheduleEventSubscriberIntf::onEvent ( ScheduleActionType  actionType,
ScheduleModuleId  moduleId,
const std::string &  version,
const std::string &  text 
)
pure virtual

Called by the schedule framework when a schedule event occurs.

Parameters
[in]actionTypeThe event type
[in]moduleIdThe associated module
[in]versionIf available, the new version number of the module, otherwise the empty string
[in]textNotification 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.


The documentation for this class was generated from the following file: