More tests update
[ACE_TAO.git] / TAO / tests / DII_Discard_Deferred / Hello.cpp
blobd889c5adf325ed9c95f9d7c93854caf2b30c6c44
1 // -*- C++ -*-
2 #include "Hello.h"
3 #include "ace/OS_NS_unistd.h"
5 Hello::Hello (CORBA::ORB_ptr orb)
6 : orb_ (CORBA::ORB::_duplicate (orb))
10 char *
11 Hello::get_string (void)
13 ACE_DEBUG ((LM_DEBUG, "(%P|%t) - Hello::get_string called\n"));
14 ACE_OS::sleep (2);
15 ACE_DEBUG ((LM_DEBUG, "(%P|%t) - Hello::get_string returning\n"));
16 return CORBA::string_dup ("Hello there!");
19 void
20 Hello::shutdown (void)
22 this->orb_->shutdown (0);