=default for generated implementation copy ctor
[ACE_TAO.git] / TAO / tests / Two_Objects / First_i.cpp
blob9d4bb52a1f0935c353f1fc1aaaae2cb4beb4d9c9
2 #include "First_i.h"
3 #include "tao/ORB_Core.h"
4 #include "tao/debug.h"
5 #include "tao/Transport_Cache_Manager.h"
6 #include "ace/Synch.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)
15 void
16 First_i::oneway_method ()
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"));