From 64eaebceb32fd85d4a49edcd7fd87aa717e0b842 Mon Sep 17 00:00:00 2001 From: elliott_c Date: Thu, 22 Dec 2005 14:54:51 +0000 Subject: ChangeLogTag: Thu Dec 22 08:54:09 2005 Chad Elliott --- .../Processing_Mode_Policy/Collocated/test_i.h | 55 ++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/test_i.h (limited to 'TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/test_i.h') diff --git a/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/test_i.h b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/test_i.h new file mode 100644 index 00000000000..aed3c6f4ba9 --- /dev/null +++ b/TAO/tests/Portable_Interceptors/Processing_Mode_Policy/Collocated/test_i.h @@ -0,0 +1,55 @@ +// $Id$ + +// ============================================================================ +// +// = LIBRARY +// TAO/tests/Portable_Interceptors/Dynamic +// +// = 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, + public virtual PortableServer::RefCountServantBase +{ + // = DESCRIPTION + // Implements the Visual interface in test.idl + +public: + Visual_i (CORBA::ORB_ptr orb); + // ctor + + void normal (CORBA::Long arg + ACE_ENV_ARG_DECL_NOT_USED) + ACE_THROW_SPEC ((CORBA::SystemException)); + + CORBA::Long calculate ( + CORBA::Long one, + CORBA::Long two + ACE_ENV_ARG_DECL_NOT_USED) + ACE_THROW_SPEC ((CORBA::SystemException)); + + void user (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + ACE_THROW_SPEC ((CORBA::SystemException,Test_Interceptors::Silly)); + + void system (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + ACE_THROW_SPEC ((CORBA::SystemException)); + + void shutdown (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + ACE_THROW_SPEC ((CORBA::SystemException)); + +private: + CORBA::ORB_var orb_; + // The ORB pointer (for shutdown.) +}; + +#endif /* TAO_INTERCEPTOR_TEST_I_H */ -- cgit v1.2.1