Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / tests / Oneway_Buffering / Oneway_Buffering.cpp
blobb2532a87e20ed5c695d7b28ca1580b2305e11405
1 #include "Oneway_Buffering.h"
3 Oneway_Buffering::Oneway_Buffering (CORBA::ORB_ptr orb,
4 Test::Oneway_Buffering_Admin_ptr admin)
5 : orb_ (CORBA::ORB::_duplicate (orb))
6 , admin_ (Test::Oneway_Buffering_Admin::_duplicate (admin))
10 void
11 Oneway_Buffering::receive_data (const Test::Payload &the_payload)
13 this->admin_->request_received (the_payload.length ());
16 void
17 Oneway_Buffering::flush ()
21 void
22 Oneway_Buffering::sync ()
24 this->admin_->flush ();
27 void
28 Oneway_Buffering::shutdown ()
30 this->orb_->shutdown (false);