diff options
Diffstat (limited to 'TAO/tests/Interceptors/test_i.h')
-rw-r--r-- | TAO/tests/Interceptors/test_i.h | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/TAO/tests/Interceptors/test_i.h b/TAO/tests/Interceptors/test_i.h new file mode 100644 index 00000000000..eab5e203fa5 --- /dev/null +++ b/TAO/tests/Interceptors/test_i.h @@ -0,0 +1,53 @@ +// $Id$ + +// ============================================================================ +// +// = LIBRARY +// TAO/tests/Interceptors +// +// = FILENAME +// test_i.h +// +// = AUTHOR +// Nanbor Wang +// +// ============================================================================ + +#ifndef TAO_INTERCEPTOR_TEST_I_H +#define TAO_INTERCEPTOR_TEST_I_H + +#include "testS.h" + + + +class Visual_i : public POA_Test_Interceptors::Visual +{ + // = DESCRIPTION + // Implements the Visual interface in test.idl + +public: + Visual_i (CORBA::ORB_ptr orb); + // ctor + + void normal (CORBA::Long arg, + CORBA::Environment&) + ACE_THROW_SPEC ((CORBA::SystemException)); + + void nothing (CORBA::Environment&) + ACE_THROW_SPEC ((CORBA::SystemException)); + + void user (CORBA::Environment&) + ACE_THROW_SPEC ((CORBA::SystemException,Test_Interceptors::Silly)); + + void system (CORBA::Environment&) + ACE_THROW_SPEC ((CORBA::SystemException)); + + void shutdown (CORBA::Environment&) + ACE_THROW_SPEC (()); + +private: + CORBA::ORB_var orb_; + // The ORB pointer (for shutdown.) +}; + +#endif /* TAO_INTERCEPTOR_TEST_I_H */ |