dca_interface
6.3.4
home
build
tmp
dcatmp18664
pkgdevel
dca
samples
malware_samples
malwaredbdownloadsample
malware_samples/malwaredbdownloadsample/schedule_event_subscriber.h
Go to the documentation of this file.
1
/* IBM Source Code */
2
/* (C) Copyright IBM Corp. 2009, 2012 */
3
/* Licensed Materials - Property of IBM */
4
/* US Government Users Restricted Rights - Use duplication or disclosure restricted by GSA Schedule Contract with IBM Corp. */
5
12
#ifndef SCHEDULE_EVENT_SUBSCRIBER_H
13
#define SCHEDULE_EVENT_SUBSCRIBER_H
14
15
#include <string>
16
17
#include "
dca/dca_base.h
"
18
23
class
MyMalwareScheduleEventSubscriber
:
public
dca::ScheduleEventSubscriberIntf
24
{
25
public
:
27
MyMalwareScheduleEventSubscriber
();
28
virtual
~
MyMalwareScheduleEventSubscriber
();
29
// \endcond
30
35
virtual
void
onEvent
(
dca::ScheduleActionType
actionType,
dca::ScheduleModuleId
moduleId,
const
std::string& version,
const
std::string& text );
36
37
};
38
39
#endif
MyMalwareScheduleEventSubscriber
Example implementation of a schedule event subscriber.
Definition:
malware_samples/malwaredbdownloadsample/schedule_event_subscriber.h:24
dca::ScheduleModuleId
ScheduleModuleId
This defines the module id of a schedule event.
Definition:
base_classes.h:511
dca::ScheduleActionType
ScheduleActionType
This defines the action type of a schedule event.
Definition:
base_classes.h:495
dca_base.h
This header includes all header files of the DCA Base Package.
dca::ScheduleEventSubscriberIntf
An interface for schedule event notifications. Derive a class from this interface and implement onEve...
Definition:
base_classes.h:526
MyMalwareScheduleEventSubscriber::onEvent
virtual void onEvent(dca::ScheduleActionType actionType, dca::ScheduleModuleId moduleId, const std::string &version, const std::string &text)
Implementation of interface class method onEvent.
Definition:
malware_samples/malwaredbdownloadsample/schedule_event_subscriber.cpp:25
Generated by
1.8.18