2 #include "ace/OS_NS_unistd.h"
5 Sink_i::Sink_i (CORBA::ORB_ptr orb
)
6 : orb_(CORBA::ORB::_duplicate(orb
))
18 Sink_i::parse_args(int &, ACE_TCHAR
*[])
23 // Implement the tick method
30 ACE_DEBUG((LM_DEBUG
, "Sink (%P|%t) tick: %d\n", tickCount_
));
38 ACE_DEBUG((LM_DEBUG
, "Sink (%P|%t) tock: %d\n", tockCount_
));
44 ACE_DEBUG((LM_DEBUG
, "Sink (%P|%t) tickCount: %d\n", tickCount_
));
51 ACE_DEBUG((LM_DEBUG
, "Sink (%P|%t) tockCount: %d\n", tockCount_
));
61 "Sink (%P|%t) shutting down. Ticks: %d Tocks %d\n",
65 // Instruct the ORB to shutdown.
66 this->orb_
->shutdown ();