Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / tests / Bug_2084_Regression / EventNode.h
blobe60f77c429c83836e4647ddbd1d1de457906003b
1 // -*- C++ -*-
3 #ifndef EVENT_NODE_H
4 #define EVENT_NODE_H
5 #include /**/ "ace/pre.h"
7 #include "TestS.h"
9 #include "ace/OS_NS_Thread.h"
11 /// Implement the Test::EventNode interface
12 class EventNode
13 : public virtual POA_Test::EventNode
15 public:
16 /// Constructor
17 EventNode (CORBA::ORB_ptr orb,
18 ACE_thread_t thr_id);
20 // = The skeleton methods
21 virtual void registerHello (::Test::Hello_ptr h);
23 virtual void shutdown ();
25 private:
26 /// Use an ORB reference to convert strings to objects and shutdown
27 /// the application.
28 CORBA::ORB_var orb_;
30 ACE_thread_t const thr_id_;
33 #include /**/ "ace/post.h"
34 #endif /* HELLO_H */