diff options
Diffstat (limited to 'TAO/tests/DLL_ORB/Test_i.cpp')
-rw-r--r-- | TAO/tests/DLL_ORB/Test_i.cpp | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/TAO/tests/DLL_ORB/Test_i.cpp b/TAO/tests/DLL_ORB/Test_i.cpp new file mode 100644 index 00000000000..9a3414ab41e --- /dev/null +++ b/TAO/tests/DLL_ORB/Test_i.cpp @@ -0,0 +1,35 @@ +// -*- C++ -*- + +#include "Test_i.h" + +ACE_RCSID (DLL_ORB, + Test_i, + "$Id$") + +Test_i::Test_i (void) + : orb_ () +{ +} + +void +Test_i::invoke_me ( /* */) +{ + ACE_DEBUG ((LM_INFO, + "(%P|%t) Test method invoked.\n")); +} + +void +Test_i::shutdown (void) +{ + ACE_DEBUG ((LM_INFO, + "Server is shutting down.\n")); + + if (!CORBA::is_nil (this->orb_.in ())) + this->orb_->shutdown (0); +} + +void +Test_i::orb (CORBA::ORB_ptr orb) +{ + this->orb_ = CORBA::ORB::_duplicate (orb); +} |