dca_interface
6.3.4
home
build
tmp
dcatmp18664
pkgdevel
dca
samples
wac_samples
wacdbdownloadsample
wac_samples/wacdbdownloadsample/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
MyWacScheduleEventSubscriber
:
public
dca::ScheduleEventSubscriberIntf
24
{
25
public
:
27
MyWacScheduleEventSubscriber
();
28
virtual
~
MyWacScheduleEventSubscriber
();
30
35
virtual
void
onEvent
(
dca::ScheduleActionType
actionType,
dca::ScheduleModuleId
moduleId,
const
std::string& version,
const
std::string& text );
36
37
};
38
39
#endif
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.
MyWacScheduleEventSubscriber::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:
wac_samples/wacdbdownloadsample/schedule_event_subscriber.cpp:24
dca::ScheduleEventSubscriberIntf
An interface for schedule event notifications. Derive a class from this interface and implement onEve...
Definition:
base_classes.h:526
MyWacScheduleEventSubscriber
Example implementation of a schedule event subscriber.
Definition:
wac_samples/wacdbdownloadsample/schedule_event_subscriber.h:24
Generated by
1.8.18