Merge pull request #1551 from DOCGroup/plm_jira_333
[ACE_TAO.git] / TAO / examples / Event_Comm / notifier.h
blob009cc015967ea9fac1580c6bc900a50ffe27b0c2
1 //=============================================================================
2 /**
3 * @file notifier.h
5 * This class implements notifier driver for the Publish/Subscribe example
6 */
7 //=============================================================================
9 /**
10 * @class Notifier
12 * @brief Notifier driver for the TAO Publish/Subscribe example.
14 * The driver class for the <Event_Comm::Notifier> object.
16 class Notifier : public ACE_Event_Handler
18 public:
19 /// Constructor.
20 Notifier (int argc, ACE_TCHAR *argv[]);
22 /// Destructor.
23 ~Notifier (void);
25 /// Execute the notifier.
26 void run (void);
28 private:
29 /// Handle signals that shut us down.
30 virtual int handle_signal (int signum,
31 siginfo_t *,
32 ucontext_t *);
34 /// The notifier server.
35 Notifier_Server ns_;