diff options
Diffstat (limited to 'TAO/tests/RTCORBA/Thread_Pool/test_i.h')
-rw-r--r-- | TAO/tests/RTCORBA/Thread_Pool/test_i.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/TAO/tests/RTCORBA/Thread_Pool/test_i.h b/TAO/tests/RTCORBA/Thread_Pool/test_i.h index 22810f419f4..c5d058eb758 100644 --- a/TAO/tests/RTCORBA/Thread_Pool/test_i.h +++ b/TAO/tests/RTCORBA/Thread_Pool/test_i.h @@ -10,11 +10,14 @@ #include "testS.h" -class test_i : public POA_test +class test_i : + public POA_test, + public PortableServer::RefCountServantBase { public: /// Constructor. test_i (CORBA::ORB_ptr orb, + PortableServer::POA_ptr poa, long msec_sleep); /// Test method. @@ -27,10 +30,16 @@ public: void shutdown (CORBA::Environment&) ACE_THROW_SPEC ((CORBA::SystemException)); + /// Our POA. + PortableServer::POA_ptr _default_POA (CORBA_Environment &ACE_TRY_ENV); + private: /// ORB. CORBA::ORB_var orb_; + /// Our POA. + PortableServer::POA_var poa_; + /// Time spent in executing the upcall. ACE_Time_Value nap_time_; }; |