summaryrefslogtreecommitdiff
path: root/trunk/TAO/tests/Portable_Interceptors/AMI/Echo.h
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/TAO/tests/Portable_Interceptors/AMI/Echo.h')
-rw-r--r--trunk/TAO/tests/Portable_Interceptors/AMI/Echo.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/trunk/TAO/tests/Portable_Interceptors/AMI/Echo.h b/trunk/TAO/tests/Portable_Interceptors/AMI/Echo.h
new file mode 100644
index 00000000000..de20793bbde
--- /dev/null
+++ b/trunk/TAO/tests/Portable_Interceptors/AMI/Echo.h
@@ -0,0 +1,30 @@
+/**
+ * @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:
+ 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_ */