00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file Reconnect_Worker_T.h 00006 * 00007 * Reconnect_Worker_T.h,v 1.4 2006/03/14 06:14:34 jtc Exp 00008 * 00009 * @author Jonathan Pollack <pollack_j@ociweb.com> 00010 */ 00011 //============================================================================= 00012 00013 #ifndef RECONNECT_WORKER_H 00014 #define RECONNECT_WORKER_H 00015 #include /**/ "ace/pre.h" 00016 00017 #include "orbsvcs/ESF/ESF_Worker.h" 00018 00019 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00020 #pragma once 00021 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00022 00023 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00024 00025 namespace TAO_Notify 00026 { 00027 /** 00028 * \brief Iterate through children reconnecting after reloading persistent information. 00029 */ 00030 template<class TOPOOBJ> 00031 class Reconnect_Worker : public TAO_ESF_Worker<TOPOOBJ> 00032 { 00033 public: 00034 /// Constructor 00035 Reconnect_Worker(); 00036 00037 // override virtual ESF_Worker method 00038 virtual void work (TOPOOBJ* o ACE_ENV_ARG_DECL); 00039 }; 00040 } // namespace TAO_Notify 00041 00042 TAO_END_VERSIONED_NAMESPACE_DECL 00043 00044 #if defined (ACE_TEMPLATES_REQUIRE_SOURCE) 00045 #include "orbsvcs/Notify/Reconnect_Worker_T.cpp" 00046 #endif /* ACE_TEMPLATES_REQUIRE_SOURCE */ 00047 00048 #if defined (ACE_TEMPLATES_REQUIRE_PRAGMA) 00049 #pragma implementation ("Reconnect_Worker_T.cpp") 00050 #endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */ 00051 00052 #include /**/ "ace/post.h" 00053 00054 #endif /* RECONECT_WORKER_H */