Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tests / Bug_3558_Regression / Hello.cpp
blob95810f9386f1d1dec59508477b751984232da867
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 ()
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 ()
20 this->orb_->shutdown (false);