Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / LongUpcalls / Manager_Handler.cpp
blobf6ed3bf55dbb96f176fee4d4e71967aa464d9bb5
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 (void)
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: ");