summaryrefslogtreecommitdiff
path: root/TAO/tests/Portable_Interceptors/ORB_Shutdown/test_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Portable_Interceptors/ORB_Shutdown/test_i.cpp')
-rw-r--r--TAO/tests/Portable_Interceptors/ORB_Shutdown/test_i.cpp34
1 files changed, 34 insertions, 0 deletions
diff --git a/TAO/tests/Portable_Interceptors/ORB_Shutdown/test_i.cpp b/TAO/tests/Portable_Interceptors/ORB_Shutdown/test_i.cpp
new file mode 100644
index 00000000000..8e96015a4c1
--- /dev/null
+++ b/TAO/tests/Portable_Interceptors/ORB_Shutdown/test_i.cpp
@@ -0,0 +1,34 @@
+#include "test_i.h"
+
+
+ACE_RCSID (ORB_Shutdown,
+ test_i,
+ "$Id$")
+
+
+test_i::test_i (CORBA::ORB_ptr orb)
+ : orb_ (CORBA::ORB::_duplicate (orb))
+{
+}
+
+test_i::~test_i (void)
+{
+}
+
+void
+test_i::hello (ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ ACE_DEBUG ((LM_DEBUG, "Hello!\n"));
+}
+
+void
+test_i::shutdown (ACE_ENV_SINGLE_ARG_DECL)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ ACE_DEBUG ((LM_DEBUG,
+ "Shutting down ORB.\n"));
+
+ this->orb_->shutdown (0
+ ACE_ENV_ARG_PARAMETER);
+}