00001 // $Id: CSD_TP_Custom_Asynch_Request.cpp 76687 2007-01-29 19:18:13Z johnnyw $ 00002 00003 #include "tao/CSD_ThreadPool/CSD_TP_Custom_Asynch_Request.h" 00004 00005 ACE_RCSID (CSD_ThreadPool, 00006 TP_Custom_Asynch_Request, 00007 "$Id: CSD_TP_Custom_Asynch_Request.cpp 76687 2007-01-29 19:18:13Z johnnyw $") 00008 00009 #if !defined (__ACE_INLINE__) 00010 # include "tao/CSD_ThreadPool/CSD_TP_Custom_Asynch_Request.inl" 00011 #endif /* ! __ACE_INLINE__ */ 00012 00013 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00014 00015 TAO::CSD::TP_Custom_Asynch_Request::~TP_Custom_Asynch_Request() 00016 { 00017 } 00018 00019 00020 void 00021 TAO::CSD::TP_Custom_Asynch_Request::dispatch_i() 00022 { 00023 try 00024 { 00025 this->execute_op(); 00026 } 00027 catch (const ::CORBA::Exception&) 00028 { 00029 // Eat these. We probably should log these, but since we have already 00030 // unblocked the requesting thread there is no point in saving it or 00031 // doing anything with it. 00032 } 00033 catch (...) 00034 { 00035 // Eat these. We probably should log these, but since we have already 00036 // unblocked the requesting thread there is no point in saving it or 00037 // doing anything with it. 00038 } 00039 } 00040 00041 void 00042 TAO::CSD::TP_Custom_Asynch_Request::cancel_i() 00043 { 00044 this->cancel_op(); 00045 } 00046 00047 TAO_END_VERSIONED_NAMESPACE_DECL