Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tests / RTCORBA / Dynamic_Thread_Pool / test_i.h
blobab2fa2e9de7dfbf9b6f1a237503df4cf01834587
1 //=============================================================================
2 /**
3 * @file test_i.h
5 * @author Irfan Pyarali
6 */
7 // ===================================================================
9 #include "testS.h"
11 class test_i : public POA_test
13 public:
14 /// Constructor.
15 test_i (CORBA::ORB_ptr orb,
16 PortableServer::POA_ptr poa,
17 long msec_sleep);
19 /// Test method.
20 CORBA::Long method (CORBA::Long client_id,
21 CORBA::Long iteration,
22 CORBA::Long_out thread_count);
24 /// Shutdown the server.
25 void shutdown ();
27 /// Our POA.
28 PortableServer::POA_ptr _default_POA ();
30 private:
31 /// ORB.
32 CORBA::ORB_var orb_;
34 /// Our POA.
35 PortableServer::POA_var poa_;
37 /// Time spent in executing the upcall.
38 ACE_Time_Value nap_time_;