diff options
Diffstat (limited to 'TAO/orbsvcs/tests/HTIOP/Hello/Hello.cpp')
-rw-r--r-- | TAO/orbsvcs/tests/HTIOP/Hello/Hello.cpp | 27 |
1 files changed, 27 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..b6f13134438 --- /dev/null +++ b/TAO/orbsvcs/tests/HTIOP/Hello/Hello.cpp @@ -0,0 +1,27 @@ +// +// $Id$ +// +#include "Hello.h" + +ACE_RCSID(Hello, Hello, "$Id$") + +Hello::Hello (CORBA::ORB_ptr orb) + : orb_ (CORBA::ORB::_duplicate (orb)) +{ +} + +char * +Hello::get_string (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ + ACE_DEBUG ((LM_DEBUG, "in get_string\n")); + return CORBA::string_dup ("Hello there!"); +} + +void +Hello::shutdown (ACE_ENV_SINGLE_ARG_DECL) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ + this->orb_->shutdown (0 ACE_ENV_ARG_PARAMETER); + ACE_DEBUG ((LM_DEBUG,"in shutdown\n")); +} |