summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Notify/Notify_Worker_Task.cpp
blob: d17cd92c9eef3a483f72af82e1347727b62e5de3 (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
31
32
33
34
35
// $Id$

#include "Notify_Worker_Task.h"
#include "Notify_Command.h"

ACE_RCSID(Notify, Notify_Worker_Task, "$Id$")

TAO_Notify_Worker_Task::TAO_Notify_Worker_Task (void)
{
}

TAO_Notify_Worker_Task::~TAO_Notify_Worker_Task ()
{
}

int
TAO_Notify_Worker_Task::init_task (TAO_Notify_AdminProperties* const)
{
  return 0;
}

void
TAO_Notify_Worker_Task::shutdown (TAO_ENV_SINGLE_ARG_DECL_NOT_USED)
{
}

int
TAO_Notify_Worker_Task::process_event (TAO_Notify_Command *mb TAO_ENV_ARG_DECL, ACE_Time_Value * /*tv*/)
{
  int result = mb->execute (TAO_ENV_SINGLE_ARG_PARAMETER);
  ACE_CHECK_RETURN (-1);

  ACE_Message_Block::release (mb);
  return result;
}