Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tests / LongUpcalls / Manager_Handler.cpp
blobe5d767ec2d7715c8344f833c6c20a7cbf4f4a65b
2 #include "Manager_Handler.h"
4 Manager_Handler::Manager_Handler (Test::Manager_ptr manager,
5 Test::Controller_ptr controller)
6 : manager_ (Test::Manager::_duplicate (manager))
7 , controller_ (Test::Controller::_duplicate (controller))
11 void
12 Manager_Handler::start_workers ()
14 try
16 this->manager_->start_workers (CORBA::Short(10),
17 CORBA::Long(1000),
18 this->controller_.in ());
20 catch (const CORBA::Exception& ex)
22 ex._tao_print_exception ("Exception raised in nested start workers: ");
26 void
27 Manager_Handler::start_workers_excep (::Messaging::ExceptionHolder * holder)
29 try
31 holder->raise_exception ();
33 catch (const CORBA::Exception& ex)
35 ex._tao_print_exception ("Exception raised in asynch start workers: ");