summaryrefslogtreecommitdiff
path: root/TAO/tests/Portable_Interceptors/Bug_1559/test_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Portable_Interceptors/Bug_1559/test_i.h')
-rw-r--r--TAO/tests/Portable_Interceptors/Bug_1559/test_i.h55
1 files changed, 55 insertions, 0 deletions
diff --git a/TAO/tests/Portable_Interceptors/Bug_1559/test_i.h b/TAO/tests/Portable_Interceptors/Bug_1559/test_i.h
new file mode 100644
index 00000000000..5a6df58c457
--- /dev/null
+++ b/TAO/tests/Portable_Interceptors/Bug_1559/test_i.h
@@ -0,0 +1,55 @@
+// -*- C++ -*-
+
+//=============================================================================
+/**
+ * @file test_i.h
+ *
+ * $Id$
+ *
+ * @author Nanbor Wang
+ */
+//=============================================================================
+
+
+#ifndef TAO_INTERCEPTOR_TEST_I_H
+#define TAO_INTERCEPTOR_TEST_I_H
+
+#include "testS.h"
+
+/**
+ * @class Visual_i
+ *
+ * Implements the Visual interface in test.idl
+ */
+class Visual_i : public POA_Test_Interceptors::Visual
+{
+
+public:
+
+ Visual_i (CORBA::ORB_ptr orb);
+
+ void normal (CORBA::Long arg
+ ACE_ENV_ARG_DECL_WITH_DEFAULTS)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ void nothing (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ void user (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+ ACE_THROW_SPEC ((CORBA::SystemException,
+ Test_Interceptors::Silly));
+
+ void system (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+ void shutdown (ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS)
+ ACE_THROW_SPEC ((CORBA::SystemException));
+
+private:
+
+ /// The ORB pseudo-reference (for shutdown).
+ CORBA::ORB_var orb_;
+
+};
+
+#endif /* TAO_INTERCEPTOR_TEST_I_H */