Merge pull request #2222 from jwillemsen/jwi-dllexportwarning
[ACE_TAO.git] / TAO / tests / Two_Objects / worker.cpp
blob126f4e825619995f053e7bc4aa204c58d3730f80
2 #include "worker.h"
4 Worker::Worker (CORBA::ORB_ptr orb)
5 : orb_ (CORBA::ORB::_duplicate (orb))
9 int
10 Worker::svc ()
12 try
14 this->orb_->run ();
16 catch (const CORBA::Exception& ex)
18 ex._tao_print_exception ("Exception caught:");
20 return 0;