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
)
18 // Add your implementation here
19 ACE_DEBUG ((LM_DEBUG
, ACE_TEXT ("%P|%t)Demo_HelloWorld_i::sayHello %C\n"), msg
));
23 Demo_HelloWorld_i::shutdown()
25 ACE_DEBUG ((LM_DEBUG
, "(%P|%t)Demo_HelloWorld_i::shutdown \n"));
26 this->orb_
->shutdown (0);