diff options
Diffstat (limited to 'trunk/TAO/tests/Portable_Interceptors/AMI/Echo_Handler.h')
-rw-r--r-- | trunk/TAO/tests/Portable_Interceptors/AMI/Echo_Handler.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/trunk/TAO/tests/Portable_Interceptors/AMI/Echo_Handler.h b/trunk/TAO/tests/Portable_Interceptors/AMI/Echo_Handler.h new file mode 100644 index 00000000000..76517aa76f2 --- /dev/null +++ b/trunk/TAO/tests/Portable_Interceptors/AMI/Echo_Handler.h @@ -0,0 +1,38 @@ +/** + * @file Echo_Handler.h + * + * $Id$ + * + * @author Carlos O'Ryan <coryan@atdesk.com> + */ +#ifndef Echo_Handler__h_ +#define Echo_Handler__h_ + +#include "TestS.h" +#include "tao/PortableServer/PortableServer.h" + +class Echo_Handler + : public POA_Test::AMI_EchoHandler +{ +public: + Echo_Handler(void); + + virtual void echo_operation(char const * retval + ACE_ENV_ARG_DECL) + ACE_THROW_SPEC((CORBA::SystemException)); + virtual void echo_operation_excep(::Messaging::ExceptionHolder * h + ACE_ENV_ARG_DECL) + ACE_THROW_SPEC((CORBA::SystemException)); + virtual void shutdown(ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC((CORBA::SystemException)); + virtual void shutdown_excep(::Messaging::ExceptionHolder * h + ACE_ENV_ARG_DECL) + ACE_THROW_SPEC((CORBA::SystemException)); + + CORBA::ULong replies (void) const; + +private: + CORBA::ULong replies_; +}; + +#endif /* Echo_Handler__h_ */ |