diff options
Diffstat (limited to 'TAO/tests/Bug_3276_Regression/test_i.cpp')
-rw-r--r-- | TAO/tests/Bug_3276_Regression/test_i.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/TAO/tests/Bug_3276_Regression/test_i.cpp b/TAO/tests/Bug_3276_Regression/test_i.cpp new file mode 100644 index 00000000000..1e80fe881e7 --- /dev/null +++ b/TAO/tests/Bug_3276_Regression/test_i.cpp @@ -0,0 +1,24 @@ +// $Id$ + +#include "test_i.h" + +Simple_Server_i::Simple_Server_i (CORBA::ORB_ptr orb) + : orb_ (CORBA::ORB::_duplicate (orb)) +{ + // no-op +} + +void +Simple_Server_i::remote_call () +{ + ACE_DEBUG ((LM_DEBUG, + "Print out from process id (%P) hosting the servant \n")); +} + +void +Simple_Server_i::shutdown () +{ + ACE_DEBUG ((LM_DEBUG, + "Servant in process id (%P) received shutdown request. Complying... \n")); + this->orb_->shutdown (0); +} |