Merge pull request #2303 from jwillemsen/jwi-803
[ACE_TAO.git] / TAO / tests / CSD_Strategy_Tests / TP_Common / OrbShutdownTask.h
blob94b63769026924fadb3f216917c8f4e5e1e6c4f1
1 //=============================================================================
2 /**
3 * @file OrbShutdownTask.h
5 * @author Tim Bradley <bradley_t@ociweb.com>
6 */
7 //=============================================================================
9 #ifndef ORB_SHUTDOWN_TASK_H
10 #define ORB_SHUTDOWN_TASK_H
12 #include "CSD_TP_Test_Export.h"
13 #include "ace/Task.h"
14 #include "tao/ORB.h"
16 class CSD_TP_Test_Export OrbShutdownTask : public ACE_Task_Base
18 public:
19 OrbShutdownTask();
20 virtual ~OrbShutdownTask() = default;
22 void orb(CORBA::ORB_ptr orb);
24 virtual int open(void*);
25 virtual int svc();
26 virtual int close(u_long);
28 private:
29 CORBA::ORB_var orb_;
32 #endif