diff options
Diffstat (limited to 'TAO/tao/CSD_ThreadPool/CSD_TP_Remote_Request.cpp')
-rw-r--r-- | TAO/tao/CSD_ThreadPool/CSD_TP_Remote_Request.cpp | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/TAO/tao/CSD_ThreadPool/CSD_TP_Remote_Request.cpp b/TAO/tao/CSD_ThreadPool/CSD_TP_Remote_Request.cpp new file mode 100644 index 00000000000..45529af5802 --- /dev/null +++ b/TAO/tao/CSD_ThreadPool/CSD_TP_Remote_Request.cpp @@ -0,0 +1,60 @@ +// $Id$ + +#include "tao/CSD_ThreadPool/CSD_TP_Remote_Request.h" + +ACE_RCSID (CSD_ThreadPool, + TP_Remote_Request, + "$Id$") + +#if !defined (__ACE_INLINE__) +# include "tao/CSD_ThreadPool/CSD_TP_Remote_Request.inl" +#endif /* ! __ACE_INLINE__ */ + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +TAO::CSD::TP_Remote_Request::~TP_Remote_Request() +{ +} + + +void +TAO::CSD::TP_Remote_Request::prepare_for_queue_i() +{ + this->do_clone(); +} + + +void +TAO::CSD::TP_Remote_Request::dispatch_i() +{ + ACE_DECLARE_NEW_CORBA_ENV; + ACE_TRY + { + this->do_dispatch(ACE_ENV_SINGLE_ARG_PARAMETER); + ACE_TRY_CHECK; + } + ACE_CATCHANY + { + // Eat these. We probably should log these, but since we have already + // unblocked the requesting thread there is no point in saving it or + // doing anything with it. + } +#if defined (TAO_HAS_EXCEPTIONS) + ACE_CATCHALL + { + // Eat these. We probably should log these, but since we have already + // unblocked the requesting thread there is no point in saving it or + // doing anything with it. + } +#endif + ACE_ENDTRY; +} + + +void +TAO::CSD::TP_Remote_Request::cancel_i() +{ + this->do_cancel(); +} + +TAO_END_VERSIONED_NAMESPACE_DECL |