diff options
Diffstat (limited to 'TAO/tests/RTCORBA/Dynamic_Thread_Pool/test_i.h')
-rw-r--r-- | TAO/tests/RTCORBA/Dynamic_Thread_Pool/test_i.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/TAO/tests/RTCORBA/Dynamic_Thread_Pool/test_i.h b/TAO/tests/RTCORBA/Dynamic_Thread_Pool/test_i.h new file mode 100644 index 00000000000..f6fa6a9fbee --- /dev/null +++ b/TAO/tests/RTCORBA/Dynamic_Thread_Pool/test_i.h @@ -0,0 +1,42 @@ +//============================================================================= +/** + * @file test_i.h + * + * $Id$ + * + * @author Irfan Pyarali + */ +// =================================================================== + +#include "testS.h" + +class test_i : + public POA_test +{ +public: + /// Constructor. + test_i (CORBA::ORB_ptr orb, + PortableServer::POA_ptr poa, + long msec_sleep); + + /// Test method. + CORBA::Long method (CORBA::Long client_id, + CORBA::Long iteration, + CORBA::Long_out thread_count); + + /// Shutdown the server. + void shutdown (void); + + /// Our POA. + PortableServer::POA_ptr _default_POA (void); + +private: + /// ORB. + CORBA::ORB_var orb_; + + /// Our POA. + PortableServer::POA_var poa_; + + /// Time spent in executing the upcall. + ACE_Time_Value nap_time_; +}; |