17 MyMalwareScheduleEventSubscriber::MyMalwareScheduleEventSubscriber()
 
   21 MyMalwareScheduleEventSubscriber::~MyMalwareScheduleEventSubscriber()
 
   27         std::string event_str = 
"ActionType: ";
 
   32                         event_str += 
"SAT_StartDbDownload";
 
   36                         event_str += 
"SAT_ProgressDbDownload";
 
   40                         event_str += 
"SAT_StopDbDownload";
 
   44                         event_str += 
"SAT_ErrorDbDownload";
 
   48                         event_str += 
"SAT_StartDbMerge";
 
   52                         event_str += 
"SAT_StopDbMerge";
 
   56                         event_str += 
"SAT_ErrorDbMerge";
 
   60                         event_str += 
"SAT_UserCancel";
 
   64                         event_str += 
"unknown action";
 
   68         event_str += 
" ModuleId: ";
 
   73                         event_str += 
"SMI_MalwareDb";
 
   78                                 std::ostringstream os;
 
   79                                 os << 
"module id=" << moduleId;
 
   80                                 event_str += os.str();
 
   86         event_str += 
" Version: " + version;
 
   88         event_str += 
" Text: " + text;
 
   90         std::cout << event_str << std::endl;
 
  
@ SMI_MalwareDb
ID for a Malware database.
 
@ SAT_StopDbDownload
A complete database download has successfully finished.
 
Header file for the schedule event subscriber.
 
ScheduleModuleId
This defines the module id of a schedule event.
 
ScheduleActionType
This defines the action type of a schedule event.
 
@ SAT_ProgressDbDownload
Complete database download progress information.
 
@ SAT_StopDbMerge
A database merge process has successfully finished.
 
@ SAT_StartDbDownload
A complete database download has started.
 
@ SAT_ErrorDbMerge
An error occured during the database merge process.
 
@ SAT_UserCancel
The user has cancelled the operation.
 
@ SAT_ErrorDbDownload
An error occured during a complete db download.
 
virtual void onEvent(dca::ScheduleActionType actionType, dca::ScheduleModuleId moduleId, const std::string &version, const std::string &text)
Implementation of interface class method onEvent.
 
@ SAT_StartDbMerge
A database merge process has started.