diff options
Diffstat (limited to 'TAO/orbsvcs/tests/FaultTolerance/Replay_Reply/test_i.h')
-rw-r--r-- | TAO/orbsvcs/tests/FaultTolerance/Replay_Reply/test_i.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/TAO/orbsvcs/tests/FaultTolerance/Replay_Reply/test_i.h b/TAO/orbsvcs/tests/FaultTolerance/Replay_Reply/test_i.h new file mode 100644 index 00000000000..5e720870e5b --- /dev/null +++ b/TAO/orbsvcs/tests/FaultTolerance/Replay_Reply/test_i.h @@ -0,0 +1,53 @@ +// -*- C++ -*- + +//============================================================================= +/** + * @file test_i.h + * + * $Id$ + * + * @author Balachandran Natarajan <bala@dre.vanderbilt.edu> + */ +//============================================================================= +#ifndef TEST_I_H +#define TEST_I_H + +#include "testS.h" + +/** + * @class test_i + * + * @brief Simple test class. + * + * This class implements the "test" interface used in this test. + */ +class test_i : public virtual POA_Replay_Reply::test +{ +public: + + /// Constructor. + test_i (CORBA::ORB_ptr orb); + + /// Destructor. + ~test_i (void); + + /// Return the number assigned to this object. + virtual CORBA::Short number (char *&s + ACE_ENV_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)); + + /// Shutdown the ORB. + virtual void shutdown (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS) + ACE_THROW_SPEC ((CORBA::SystemException)); + +private: + + /// The number assigned to this object. + CORBA::Short number_; + + /// Pseudo-reference to the ORB. + CORBA::ORB_var orb_; + +}; + +#endif /* TEST_I_H */ |