Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tests / Bug_1476_Regression / Sender_i.cpp
blob26c6fea3bfbc85278e0f39f173128b35966159e8
1 #include "Sender_i.h"
3 Sender_i::Sender_i (CORBA::ORB_ptr orb)
4 : orb_ (CORBA::ORB::_duplicate (orb)),
5 active_objects_ (0),
6 number_received_ (0)
10 Sender_i::~Sender_i ()
14 void
15 Sender_i::active_objects (CORBA::ULong no_threads)
17 this->active_objects_ = no_threads;
21 void
22 Sender_i::send_ready_message ()
24 ACE_DEBUG ((LM_DEBUG,
25 "Received a call ...\n"));
27 number_received_++;
30 CORBA::ULong
31 Sender_i::get_number_received () const
33 return number_received_;
36 CORBA::ULong
37 Sender_i::get_active_objects () const
39 return active_objects_;