diff options
Diffstat (limited to 'TAO/orbsvcs/tests/HTIOP/Hello/Hello.cpp')
-rw-r--r-- | TAO/orbsvcs/tests/HTIOP/Hello/Hello.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/TAO/orbsvcs/tests/HTIOP/Hello/Hello.cpp b/TAO/orbsvcs/tests/HTIOP/Hello/Hello.cpp new file mode 100644 index 00000000000..dd1638af6b2 --- /dev/null +++ b/TAO/orbsvcs/tests/HTIOP/Hello/Hello.cpp @@ -0,0 +1,25 @@ +// +// $Id$ +// +#include "Hello.h" + +ACE_RCSID(Hello, Hello, "$Id$") + +Hello::Hello (CORBA::ORB_ptr orb) + : orb_ (CORBA::ORB::_duplicate (orb)) +{ +} + +char * +Hello::get_string (void) +{ + ACE_DEBUG ((LM_DEBUG, "in get_string\n")); + return CORBA::string_dup ("Hello there!"); +} + +void +Hello::shutdown (void) +{ + this->orb_->shutdown (0); + ACE_DEBUG ((LM_DEBUG,"in shutdown\n")); +} |