Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Bug_3853_Regression / Hello_i.cpp
blob1dfc25c5da6e19d941da673b66446d936e144571
1 #include "Hello_i.h"
2 #include "ace/OS_NS_unistd.h"
4 // Implementation skeleton constructor
5 Demo_HelloWorld_i::Demo_HelloWorld_i (CORBA::ORB_ptr orb)
6 : orb_ (CORBA::ORB::_duplicate (orb))
10 // Implementation skeleton destructor
11 Demo_HelloWorld_i::~Demo_HelloWorld_i (void)
15 void Demo_HelloWorld_i::sayHello (const char * msg)
17 ACE_OS::sleep(1);
18 // Add your implementation here
19 ACE_DEBUG ((LM_DEBUG, ACE_TEXT ("%P|%t)Demo_HelloWorld_i::sayHello %C\n"), msg));
22 void
23 Demo_HelloWorld_i::shutdown()
25 ACE_DEBUG ((LM_DEBUG, "(%P|%t)Demo_HelloWorld_i::shutdown \n"));
26 this->orb_->shutdown (0);