blob: be45a848ebf60347cd7298df92fa5d5d13c1a153 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
// $Id$
// ============================================================================
//
// = LIBRARY
// TAO/example/Event_Comm
//
// = FILENAME
// notifier.h
//
// = DESCRIPTION
// This class implements notifier driver for the Publish/Subscribe example
//
// = AUTHOR
//
// ============================================================================
class Notifier : public ACE_Event_Handler
{
// = TITLE
// Notifier driver for the TAO Publish/Subscribe example.
//
// = DESCRIPTION
// The driver class for the <Event_Comm::Notifier> object.
public:
// = Initialization and termination methods.
Notifier (int argc, char *argv[]);
// Constructor.
~Notifier (void);
// Destructor.
void run (void);
// Execute the notifier.
private:
virtual int handle_signal (int signum,
siginfo_t *,
ucontext_t *);
// Handle signals that shut us down.
Notifier_Server ns_;
// The notifier server.
};
|