diff options
Diffstat (limited to 'TAO/tests/Portable_Interceptors/ForwardRequest/test_i.cpp')
-rw-r--r-- | TAO/tests/Portable_Interceptors/ForwardRequest/test_i.cpp | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/TAO/tests/Portable_Interceptors/ForwardRequest/test_i.cpp b/TAO/tests/Portable_Interceptors/ForwardRequest/test_i.cpp new file mode 100644 index 00000000000..adafe5be28d --- /dev/null +++ b/TAO/tests/Portable_Interceptors/ForwardRequest/test_i.cpp @@ -0,0 +1,35 @@ +// -*- C++ -*- + +#include "test_i.h" + +ACE_RCSID (ForwardRequest, + test_i, + "$Id$") + +test_i::test_i (CORBA::Short num, + CORBA::ORB_ptr orb) + : number_ (num), + orb_ (CORBA::ORB::_duplicate (orb)) +{ +} + +test_i::~test_i (void) +{ +} + +CORBA::Short +test_i::number (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ + return this->number_; +} + +void +test_i::shutdown (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ + ACE_DEBUG ((LM_DEBUG, + "Server is shutting down via object %d.\n", + this->number_)); + this->orb_->shutdown (0 ACE_ENV_ARG_PARAMETER); +} |