diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/ESF/ESF_Peer_Workers.cpp')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/ESF/ESF_Peer_Workers.cpp | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/ESF/ESF_Peer_Workers.cpp b/TAO/orbsvcs/orbsvcs/ESF/ESF_Peer_Workers.cpp new file mode 100644 index 00000000000..cd5c8ca1e8c --- /dev/null +++ b/TAO/orbsvcs/orbsvcs/ESF/ESF_Peer_Workers.cpp @@ -0,0 +1,51 @@ +// $Id$ + +#ifndef TAO_ESF_PEER_WORKERS_CPP +#define TAO_ESF_PEER_WORKERS_CPP + +#include "ESF_Peer_Workers.h" + +#if ! defined (__ACE_INLINE__) +#include "ESF_Peer_Workers.i" +#endif /* __ACE_INLINE__ */ + +ACE_RCSID(ESF, ESF_Peer_Workers, "$Id$") + +template<class P, class R> void +TAO_ESF_Peer_Connected<P,R>::work (P *proxy, + CORBA::Environment &ACE_TRY_ENV) +{ + proxy->connected (this->peer_, ACE_TRY_ENV); + ACE_CHECK; // Shouldn't happen, just following the discipline + + this->peer_->connected (proxy, ACE_TRY_ENV); + ACE_CHECK; // Shouldn't happen, just following the discipline +} + +// **************************************************************** + +template<class P, class R> void +TAO_ESF_Peer_Reconnected<P,R>::work (P *proxy, + CORBA::Environment &ACE_TRY_ENV) +{ + proxy->reconnected (this->peer_, ACE_TRY_ENV); + ACE_CHECK; // Shouldn't happen, just following the discipline + + this->peer_->reconnected (proxy, ACE_TRY_ENV); + ACE_CHECK; // Shouldn't happen, just following the discipline +} + +// **************************************************************** + +template<class P, class R> void +TAO_ESF_Peer_Disconnected<P,R>::work (P *proxy, + CORBA::Environment &ACE_TRY_ENV) +{ + proxy->disconnected (this->peer_, ACE_TRY_ENV); + ACE_CHECK; // Shouldn't happen, just following the discipline + + this->peer_->disconnected (proxy, ACE_TRY_ENV); + ACE_CHECK; // Shouldn't happen, just following the discipline +} + +#endif /* TAO_ESF_PEER_WORKERS_CPP */ |