summaryrefslogtreecommitdiff
path: root/TAO/tests/ForwardUponObjectNotExist/test_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/ForwardUponObjectNotExist/test_i.cpp')
-rwxr-xr-xTAO/tests/ForwardUponObjectNotExist/test_i.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/TAO/tests/ForwardUponObjectNotExist/test_i.cpp b/TAO/tests/ForwardUponObjectNotExist/test_i.cpp
new file mode 100755
index 00000000000..fbb43910dbb
--- /dev/null
+++ b/TAO/tests/ForwardUponObjectNotExist/test_i.cpp
@@ -0,0 +1,23 @@
+// $Id$
+
+#include "test_i.h"
+
+#if !defined(__ACE_INLINE__)
+#include "test_i.inl"
+#endif /* __ACE_INLINE__ */
+
+ACE_RCSID(Forwarding, test_i, "$Id$")
+
+CORBA::Boolean
+Simple_Server_i::test_is_a (const char * /* type */)
+{
+ // ACE_DEBUG ((LM_DEBUG, "(%P|%t) test_is_a %s\n", type));
+ throw ::CORBA::OBJECT_NOT_EXIST ();
+ return 0;
+}
+
+void
+Simple_Server_i::shutdown (void)
+{
+ this->orb_->shutdown (0);
+}