3 #include "tao/ORB_Core.h"
5 #include "tao/Transport_Cache_Manager.h"
7 #include "ace/Auto_Event.h"
9 First_i::First_i (CORBA::ORB_ptr orb
, ACE_Auto_Event
&two_way_done
)
10 : orb_ (CORBA::ORB::_duplicate (orb
)),
11 two_way_done_(two_way_done
)
16 First_i::oneway_method (void)
18 ACE_DEBUG ((LM_DEBUG
, "Oneway servant : (%P|%t) one way method called. About to wait for two way call completion\n"));
20 two_way_done_
.wait ();
22 ACE_DEBUG ((LM_DEBUG
, "Oneway servant : (%P|%t) woke up after wait\n"));