00001 // $Id: ESF_Peer_Workers.cpp 76589 2007-01-25 18:04:11Z elliott_c $ 00002 00003 #ifndef TAO_ESF_PEER_WORKERS_CPP 00004 #define TAO_ESF_PEER_WORKERS_CPP 00005 00006 #include "orbsvcs/ESF/ESF_Peer_Workers.h" 00007 00008 #if ! defined (__ACE_INLINE__) 00009 #include "orbsvcs/ESF/ESF_Peer_Workers.inl" 00010 #endif /* __ACE_INLINE__ */ 00011 00012 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00013 00014 template<class P, class R> void 00015 TAO_ESF_Peer_Connected<P,R>::work (P *proxy) 00016 { 00017 proxy->connected (this->peer_); 00018 // Shouldn't happen, just following the discipline 00019 00020 this->peer_->connected (proxy); 00021 // Shouldn't happen, just following the discipline 00022 } 00023 00024 // **************************************************************** 00025 00026 template<class P, class R> void 00027 TAO_ESF_Peer_Reconnected<P,R>::work (P *proxy) 00028 { 00029 proxy->reconnected (this->peer_); 00030 // Shouldn't happen, just following the discipline 00031 00032 this->peer_->reconnected (proxy); 00033 // Shouldn't happen, just following the discipline 00034 } 00035 00036 // **************************************************************** 00037 00038 template<class P, class R> void 00039 TAO_ESF_Peer_Disconnected<P,R>::work (P *proxy) 00040 { 00041 proxy->disconnected (this->peer_); 00042 // Shouldn't happen, just following the discipline 00043 00044 this->peer_->disconnected (proxy); 00045 // Shouldn't happen, just following the discipline 00046 } 00047 00048 TAO_END_VERSIONED_NAMESPACE_DECL 00049 00050 #endif /* TAO_ESF_PEER_WORKERS_CPP */