Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / tests / Bug_2683_Regression / test_i.h
blob8809d548b0db0cf167115237364398fc26f10b8b
1 // -*- C++ -*-
3 #ifndef TEST_I_H
4 #define TEST_I_H
5 #include /**/ "ace/pre.h"
7 #include "TestS.h"
8 #include "ace/Task.h"
10 class ORB_Killer : public ACE_Task_Base
12 public:
13 /// Constructor
14 ORB_Killer (CORBA::ORB_ptr orb);
15 virtual int svc ();
16 private:
17 CORBA::ORB_var orb_;
20 /// Implement the Test::Hello interface
21 class test_i
22 : public virtual POA_Test::IORTable_Shutdown_Race
24 public:
25 /// Constructor
26 test_i (ORB_Killer *k);
28 // = The skeleton methods
29 virtual void ping ();
31 virtual void shutdown ();
33 private:
34 /// Use an ORB reference to convert strings to objects and shutdown
35 /// the application.
36 ORB_Killer *killer_;
39 #include /**/ "ace/post.h"
40 #endif /* IOR_RACE_I_H */