blob: 46d15aca84b58527238a0aa5ba86f199c6b9096a (
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
|
//=============================================================================
/**
* @file notifier.h
*
* This class implements notifier driver for the Publish/Subscribe example
*/
//=============================================================================
/**
* @class Notifier
*
* @brief Notifier driver for the TAO Publish/Subscribe example.
*
* The driver class for the <Event_Comm::Notifier> object.
*/
class Notifier : public ACE_Event_Handler
{
public:
/// Constructor.
Notifier (int argc, ACE_TCHAR *argv[]);
/// Destructor.
~Notifier ();
/// Execute the notifier.
void run ();
private:
/// Handle signals that shut us down.
virtual int handle_signal (int signum,
siginfo_t *,
ucontext_t *);
/// The notifier server.
Notifier_Server ns_;
};
|