Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / orbsvcs / performance-tests / RTEvent / lib / ORB_Task.cpp
blob7789e6f28f940cd9b063f65220c089f039695ecf
1 /**
2 * @file ORB_Task.cpp
4 * @author Carlos O'Ryan <coryan@uci.edu>
5 */
7 #include "ORB_Task.h"
9 #if !defined(__ACE_INLINE__)
10 #include "ORB_Task.inl"
11 #endif /* __ACE_INLINE__ */
13 ORB_Task::ORB_Task (CORBA::ORB_ptr orb)
14 : orb_ (CORBA::ORB::_duplicate (orb))
18 int
19 ORB_Task::svc ()
21 try
23 this->orb_->run ();
25 catch (const CORBA::Exception&)
27 return -1;
29 return 0;