Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Two_Objects / worker.cpp
blob7c88437acacc99260d63aa8d2a338773bd9d9d30
2 #include "worker.h"
4 Worker::Worker (CORBA::ORB_ptr orb)
5 : orb_ (CORBA::ORB::_duplicate (orb))
9 int
10 Worker::svc (void)
13 try
15 this->orb_->run ();
17 catch (const CORBA::Exception& ex)
19 ex._tao_print_exception ("Exception caught:");
21 return 0;