diff options
Diffstat (limited to 'trunk/TAO/tests/Bug_2328_Regression/Hello.cpp')
-rw-r--r-- | trunk/TAO/tests/Bug_2328_Regression/Hello.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/trunk/TAO/tests/Bug_2328_Regression/Hello.cpp b/trunk/TAO/tests/Bug_2328_Regression/Hello.cpp new file mode 100644 index 00000000000..ac4c1c6fe85 --- /dev/null +++ b/trunk/TAO/tests/Bug_2328_Regression/Hello.cpp @@ -0,0 +1,26 @@ +// +// $Id$ +// +#include "Hello.h" + +ACE_RCSID(Hello, Hello, "$Id$") + +Hello::Hello (CORBA::ORB_ptr orb) + : orb_ (CORBA::ORB::_duplicate (orb)) +{ +} + +char * +Hello::get_string (const char * A, const char * B, const char * C) + ACE_THROW_SPEC ((CORBA::SystemException)) +{ + ACE_DEBUG ((LM_DEBUG, "Received: <%s>, <%s>, <%s>\n", A, B, C)); + 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); +} |