summaryrefslogtreecommitdiff
path: root/TAO/tests/Faults/ping_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Faults/ping_i.cpp')
-rw-r--r--TAO/tests/Faults/ping_i.cpp37
1 files changed, 37 insertions, 0 deletions
diff --git a/TAO/tests/Faults/ping_i.cpp b/TAO/tests/Faults/ping_i.cpp
new file mode 100644
index 00000000000..1a521363671
--- /dev/null
+++ b/TAO/tests/Faults/ping_i.cpp
@@ -0,0 +1,37 @@
+// $Id$
+
+#include "ping_i.h"
+
+#if !defined(__ACE_INLINE__)
+#include "ping_i.inl"
+#endif /* __ACE_INLINE__ */
+
+ACE_RCSID(Faults, test_i, "$Id$")
+
+void
+PingObject_i::ping (PingObject_ptr callback
+ ACE_ENV_ARG_DECL)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ callback->pong (ACE_ENV_SINGLE_ARG_PARAMETER);
+}
+
+void
+PingObject_i::pong (ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+}
+
+void
+PingObject_i::shutdown (ACE_ENV_SINGLE_ARG_DECL)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ this->orb_->shutdown (0 ACE_ENV_ARG_PARAMETER);
+}
+
+PortableServer::POA_ptr
+PingObject_i::_default_POA (ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
+ ACE_THROW_SPEC ((CORBA::SystemException))
+{
+ return PortableServer::POA::_duplicate (this->poa_.in ());
+}