summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Notify/Reconnect_Worker_T.cpp
blob: 09c3a50414c60e2046505b969eecc25e785a169e (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
36
37
38
39
/* -*- C++ -*- */

//=============================================================================
/**
*  @file    Reconnect_Worker_T.cpp
*
*  $Id$
*
*  @author Jonathan Pollack <pollack_j@ociweb.com>
*/
//=============================================================================

#ifndef RECONNECT_WORKER_CPP
#define RECONNECT_WORKER_CPP

#include "Reconnect_Worker_T.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
#pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

namespace TAO_NOTIFY
{
  template<class TOPOOBJ>
  Reconnect_Worker<TOPOOBJ>::Reconnect_Worker()
  {
  }

  template<class TOPOOBJ>
  void
  Reconnect_Worker<TOPOOBJ>::work (TOPOOBJ* o ACE_ENV_ARG_DECL)
  {
    ACE_ASSERT(o != 0);
    o->reconnect (ACE_ENV_SINGLE_ARG_PARAMETER);
    ACE_CHECK;
  }
} // namespace TAO_NOTIFY

#endif /* RECONNECT_WORKER_CPP */