Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / tests / RTCORBA / Thread_Pool / test_i.h
blobe57f4a6cfb9050b0ffb6daf33d0ec722b6ea776f
1 //=============================================================================
2 /**
3 * @file test_i.h
5 * @author Irfan Pyarali
6 */
7 // ===================================================================
9 #include "testS.h"
11 class test_i :
12 public POA_test
14 public:
15 /// Constructor.
16 test_i (CORBA::ORB_ptr orb,
17 PortableServer::POA_ptr poa,
18 long msec_sleep);
20 /// Test method.
21 CORBA::Long method (CORBA::Long client_id,
22 CORBA::Long iteration);
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_;