Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Bug_3558_Regression / Hello.cpp
blobc95b536fb39a3a8125a1a88e265d7dfbd27cf25c
1 #include "Hello.h"
2 #include "ace/OS_NS_unistd.h"
4 Hello::Hello (CORBA::ORB_ptr orb)
5 : orb_ (CORBA::ORB::_duplicate (orb))
9 char *
10 Hello::get_string (void)
12 ACE_DEBUG((LM_DEBUG, ACE_TEXT("%D get_string: sleep 5 seconds before returning\n")));
13 ACE_OS::sleep (5);
14 return CORBA::string_dup ("Hello there!");
17 void
18 Hello::shutdown (void)
20 this->orb_->shutdown (0);