Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / tests / Bug_3926_Regression / test_i.h
blob84d1a0fc050c68f6e7b5eb72b820d6e1418b605f
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file test_i.h
7 * Implementation header for the "test" IDL interface for the
8 * PortableInterceptor::ForwardRequest test.
10 * @author Ossama Othman <ossama@uci.edu>
12 //=============================================================================
14 #ifndef TEST_I_H
15 #define TEST_I_H
17 #include "testS.h"
19 /**
20 * @class test_i
22 * @brief Simple test class.
24 * This class implements the "test" interface used in this test.
26 class test_i : public virtual POA_hello::GoodDay
28 public:
29 /// Constructor.
30 test_i (CORBA::Short num,
31 CORBA::ORB_ptr orb);
33 /// Destructor.
34 ~test_i ();
36 /// Return the number assigned to this object.
37 virtual CORBA::Short number ();
39 /// Shutdown the ORB.
40 virtual void shutdown ();
42 private:
43 /// The number assigned to this object.
44 CORBA::Short number_;
46 /// Pseudo-reference to the ORB.
47 CORBA::ORB_var orb_;
50 #endif /* TEST_I_H */