00001 //============================================================================= 00002 /** 00003 * @file Reconnect_Worker_T.cpp 00004 * 00005 * Reconnect_Worker_T.cpp,v 1.4 2006/03/14 06:14:34 jtc Exp 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 ACE_ENV_ARG_DECL) 00032 { 00033 ACE_ASSERT(o != 0); 00034 o->reconnect (ACE_ENV_SINGLE_ARG_PARAMETER); 00035 ACE_CHECK; 00036 } 00037 } // namespace TAO_Notify 00038 00039 TAO_END_VERSIONED_NAMESPACE_DECL 00040 00041 #endif /* RECONNECT_WORKER_CPP */