diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/ESF/ESF_Shutdown_Proxy.cpp')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/ESF/ESF_Shutdown_Proxy.cpp | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/ESF/ESF_Shutdown_Proxy.cpp b/TAO/orbsvcs/orbsvcs/ESF/ESF_Shutdown_Proxy.cpp new file mode 100644 index 00000000000..21c1ec6be72 --- /dev/null +++ b/TAO/orbsvcs/orbsvcs/ESF/ESF_Shutdown_Proxy.cpp @@ -0,0 +1,30 @@ +// $Id$ + +#ifndef TAO_ESF_SHUTDOWN_PROXY_CPP +#define TAO_ESF_SHUTDOWN_PROXY_CPP + +#include "orbsvcs/ESF/ESF_Shutdown_Proxy.h" +#include "ace/CORBA_macros.h" + +#if ! defined (__ACE_INLINE__) +#include "orbsvcs/ESF/ESF_Shutdown_Proxy.inl" +#endif /* __ACE_INLINE__ */ + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +template<class PROXY> void +TAO_ESF_Shutdown_Proxy<PROXY>::work (PROXY *proxy) +{ + try + { + proxy->shutdown (); + } + catch (const CORBA::Exception&) + { + // Do not propagate any exceptions + } +} + +TAO_END_VERSIONED_NAMESPACE_DECL + +#endif /* TAO_ESF_SHUTDOWN_PROXY_CPP */ |