summaryrefslogtreecommitdiff
path: root/ACE/TAO/tests/Portable_Interceptors/Bug_2133/Hello.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/TAO/tests/Portable_Interceptors/Bug_2133/Hello.cpp')
-rw-r--r--ACE/TAO/tests/Portable_Interceptors/Bug_2133/Hello.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/ACE/TAO/tests/Portable_Interceptors/Bug_2133/Hello.cpp b/ACE/TAO/tests/Portable_Interceptors/Bug_2133/Hello.cpp
new file mode 100644
index 00000000000..7b9497529ec
--- /dev/null
+++ b/ACE/TAO/tests/Portable_Interceptors/Bug_2133/Hello.cpp
@@ -0,0 +1,23 @@
+//
+// $Id$
+//
+#include "Hello.h"
+
+ACE_RCSID(Hello, Hello, "Hello.cpp,v 1.3 2002/01/29 20:21:07 okellogg Exp")
+
+Hello::Hello (CORBA::ORB_ptr orb)
+ : orb_ (CORBA::ORB::_duplicate (orb))
+{
+}
+
+char *
+Hello::get_string ()
+{
+ return CORBA::string_dup ("Hello there!");
+}
+
+void
+Hello::shutdown ()
+{
+ this->orb_->shutdown (0 );
+}