Merge pull request #2306 from mitza-oci/warnings
[ACE_TAO.git] / TAO / orbsvcs / tests / ImplRepo / scale_clients / Test_i.h
blobea70013befe96a15b4e31cebd0dded44be2e42b9
1 /* -*- C++ -*- */
3 #ifndef TEST_I_H_
4 #define TEST_I_H_
6 #include "TestS.h"
8 #if !defined (ACE_LACKS_PRAGMA_ONCE)
9 #pragma once
10 #endif /* ACE_LACKS_PRAGMA_ONCE */
13 class Test_i : public virtual POA_Test
15 public:
16 Test_i (CORBA::ORB_ptr orb, CORBA::Short num_requests_expected);
18 virtual ~Test_i ();
20 virtual CORBA::Short get_num_requests (CORBA::Short delay_secs);
22 /// Valid after shutdown () is called.
23 static bool expected_requests_made ();
25 virtual void shutdown ();
27 private:
28 CORBA::ORB_var orb_;
29 CORBA::Short const num_requests_expected_;
30 CORBA::Short num_requests_made_;
32 static bool expected_requests_made_;
35 #endif /* TEST_I_H_ */