diff options
Diffstat (limited to 'TAO/orbsvcs/examples/Notify/Lanes/ORB_Run_Task.cpp')
-rw-r--r-- | TAO/orbsvcs/examples/Notify/Lanes/ORB_Run_Task.cpp | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/TAO/orbsvcs/examples/Notify/Lanes/ORB_Run_Task.cpp b/TAO/orbsvcs/examples/Notify/Lanes/ORB_Run_Task.cpp new file mode 100644 index 00000000000..0b181bdf553 --- /dev/null +++ b/TAO/orbsvcs/examples/Notify/Lanes/ORB_Run_Task.cpp @@ -0,0 +1,30 @@ +// $Id$ + +#include "ORB_Run_Task.h" + +ACE_RCSID (Notify, TAO_Notify_ORB_Run_Task, "$Id$") + +TAO_Notify_ORB_Run_Task::TAO_Notify_ORB_Run_Task (TAO_Notify_ORB_Objects& orb_objects) + : orb_objects_ (orb_objects) +{ +} + +TAO_Notify_ORB_Run_Task::~TAO_Notify_ORB_Run_Task () +{ +} + +int +TAO_Notify_ORB_Run_Task::svc (void) +{ + try + { + this->orb_objects_.current_->the_priority (0); + + this->orb_objects_.orb_->run (); + } + catch (const CORBA::Exception&) + { + } + + return 0; +} |