diff options
Diffstat (limited to 'TAO/tests/Portable_Interceptors/Redirection/test_i.cpp')
-rw-r--r-- | TAO/tests/Portable_Interceptors/Redirection/test_i.cpp | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/TAO/tests/Portable_Interceptors/Redirection/test_i.cpp b/TAO/tests/Portable_Interceptors/Redirection/test_i.cpp new file mode 100644 index 00000000000..189b2447c94 --- /dev/null +++ b/TAO/tests/Portable_Interceptors/Redirection/test_i.cpp @@ -0,0 +1,33 @@ +// -*- C++ -*- + +#include "test_i.h" + +ACE_RCSID (Redirection, + 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 (void) +{ + return this->number_; +} + +void +test_i::shutdown (void) +{ + ACE_DEBUG ((LM_DEBUG, + "Server is shutting down via object %d.\n", + this->number_)); + this->orb_->shutdown (0); +} |