summaryrefslogtreecommitdiff
path: root/TAO/tests/NestedUpcall/Simple/server_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/NestedUpcall/Simple/server_i.cpp')
-rw-r--r--TAO/tests/NestedUpcall/Simple/server_i.cpp51
1 files changed, 0 insertions, 51 deletions
diff --git a/TAO/tests/NestedUpcall/Simple/server_i.cpp b/TAO/tests/NestedUpcall/Simple/server_i.cpp
deleted file mode 100644
index e0b0b963208..00000000000
--- a/TAO/tests/NestedUpcall/Simple/server_i.cpp
+++ /dev/null
@@ -1,51 +0,0 @@
-// $Id$
-
-#include "server_i.h"
-
-server_i::server_i (int quiet,
- CORBA::ORB_ptr orb)
- : quiet_ (quiet),
- orb_ (CORBA::ORB::_duplicate (orb))
-{
-}
-
-void
-server_i::start (client_ptr c,
- CORBA::UShort time_to_live,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- this->client_ = client::_duplicate (c);
- this->ping (time_to_live,
- ACE_TRY_ENV);
- ACE_CHECK;
-}
-
-void
-server_i::ping (CORBA::UShort time_to_live,
- CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- if (!this->quiet_)
- ACE_DEBUG ((LM_DEBUG,
- "(%t) server_i::ping -> time to live = %d\n",
- time_to_live));
-
- --time_to_live;
-
- if (time_to_live > 0)
- {
- this->client_->ping (time_to_live,
- ACE_TRY_ENV);
- ACE_CHECK;
- }
-}
-
-void
-server_i::shutdown (CORBA::Environment &ACE_TRY_ENV)
- ACE_THROW_SPEC ((CORBA::SystemException))
-{
- this->orb_->shutdown (0,
- ACE_TRY_ENV);
- ACE_CHECK;
-}