00001 //============================================================================= 00002 /** 00003 * @file Reconnect_Worker_T.cpp 00004 * 00005 * $Id: Reconnect_Worker_T.cpp 76589 2007-01-25 18:04:11Z elliott_c $ 00006 * 00007 * @author Jonathan Pollack <pollack_j@ociweb.com> 00008 */ 00009 //============================================================================= 00010 00011 #ifndef RECONNECT_WORKER_CPP 00012 #define RECONNECT_WORKER_CPP 00013 00014 #include "orbsvcs/Notify/Reconnect_Worker_T.h" 00015 00016 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00017 #pragma once 00018 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00019 00020 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00021 00022 namespace TAO_Notify 00023 { 00024 template<class TOPOOBJ> 00025 Reconnect_Worker<TOPOOBJ>::Reconnect_Worker() 00026 { 00027 } 00028 00029 template<class TOPOOBJ> 00030 void 00031 Reconnect_Worker<TOPOOBJ>::work (TOPOOBJ* o) 00032 { 00033 ACE_ASSERT(o != 0); 00034 o->reconnect (); 00035 } 00036 } // namespace TAO_Notify 00037 00038 TAO_END_VERSIONED_NAMESPACE_DECL 00039 00040 #endif /* RECONNECT_WORKER_CPP */