00001 // ESF_Peer_Workers.cpp,v 1.6 2006/03/14 06:14:25 jtc Exp 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.i" 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 ACE_ENV_ARG_DECL) 00017 { 00018 proxy->connected (this->peer_ ACE_ENV_ARG_PARAMETER); 00019 ACE_CHECK; // Shouldn't happen, just following the discipline 00020 00021 this->peer_->connected (proxy ACE_ENV_ARG_PARAMETER); 00022 ACE_CHECK; // Shouldn't happen, just following the discipline 00023 } 00024 00025 // **************************************************************** 00026 00027 template<class P, class R> void 00028 TAO_ESF_Peer_Reconnected<P,R>::work (P *proxy 00029 ACE_ENV_ARG_DECL) 00030 { 00031 proxy->reconnected (this->peer_ ACE_ENV_ARG_PARAMETER); 00032 ACE_CHECK; // Shouldn't happen, just following the discipline 00033 00034 this->peer_->reconnected (proxy ACE_ENV_ARG_PARAMETER); 00035 ACE_CHECK; // Shouldn't happen, just following the discipline 00036 } 00037 00038 // **************************************************************** 00039 00040 template<class P, class R> void 00041 TAO_ESF_Peer_Disconnected<P,R>::work (P *proxy 00042 ACE_ENV_ARG_DECL) 00043 { 00044 proxy->disconnected (this->peer_ ACE_ENV_ARG_PARAMETER); 00045 ACE_CHECK; // Shouldn't happen, just following the discipline 00046 00047 this->peer_->disconnected (proxy ACE_ENV_ARG_PARAMETER); 00048 ACE_CHECK; // Shouldn't happen, just following the discipline 00049 } 00050 00051 TAO_END_VERSIONED_NAMESPACE_DECL 00052 00053 #endif /* TAO_ESF_PEER_WORKERS_CPP */