diff options
Diffstat (limited to 'TAO/tests/Portable_Interceptors/AMI/Echo.h')
-rw-r--r-- | TAO/tests/Portable_Interceptors/AMI/Echo.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/TAO/tests/Portable_Interceptors/AMI/Echo.h b/TAO/tests/Portable_Interceptors/AMI/Echo.h new file mode 100644 index 00000000000..d858a5603b9 --- /dev/null +++ b/TAO/tests/Portable_Interceptors/AMI/Echo.h @@ -0,0 +1,31 @@ +/** + * @file Echo.h + * + * $Id$ + * + * @author Carlos O'Ryan <coryan@atdesk.com> + */ +#ifndef Echo__h_ +#define Echo__h_ + +#include "TestS.h" +#include "tao/PortableServer/PortableServer.h" + +class Echo + : public POA_Test::Echo + , public PortableServer::RefCountServantBase +{ +public: + Echo(CORBA::ORB_ptr orb); + + virtual char * echo_operation(char const * the_input + ACE_ENV_ARG_DECL) + ACE_THROW_SPEC((CORBA::SystemException)); + virtual void shutdown(ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC((CORBA::SystemException)); + +private: + CORBA::ORB_var orb_; +}; + +#endif /* Echo__h_ */ |