summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/examples/Notify/Lanes/ORB_Run_Task.cpp
blob: 93abf1aba22211a8945bee8ca11151039b80769f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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& ex)
    {
    }

  return 0;
}