Base class for "queue-able", Custom (non-CORBA), Synchronous requests. More...
#include <CSD_TP_Custom_Asynch_Request.h>
Public Member Functions | |
TP_Custom_Asynch_Request (TP_Custom_Request_Operation *op, TP_Servant_State *servant_state) | |
Constructor. | |
virtual | ~TP_Custom_Asynch_Request () |
Virtual Destructor. | |
Protected Member Functions | |
virtual void | dispatch_i () |
Dispatch the request to the servant. | |
virtual void | cancel_i () |
Cancel the request. |
Base class for "queue-able", Custom (non-CORBA), Synchronous requests.
TBD - Add description
Definition at line 46 of file CSD_TP_Custom_Asynch_Request.h.
TAO::CSD::TP_Custom_Asynch_Request::TP_Custom_Asynch_Request | ( | TP_Custom_Request_Operation * | op, | |
TP_Servant_State * | servant_state | |||
) |
Constructor.
Definition at line 9 of file CSD_TP_Custom_Asynch_Request.inl.
: TP_Custom_Request(op,servant_state) { }
TAO::CSD::TP_Custom_Asynch_Request::~TP_Custom_Asynch_Request | ( | ) | [virtual] |
void TAO::CSD::TP_Custom_Asynch_Request::cancel_i | ( | ) | [protected, virtual] |
Cancel the request.
Implements TAO::CSD::TP_Request.
Definition at line 42 of file CSD_TP_Custom_Asynch_Request.cpp.
{ this->cancel_op(); }
void TAO::CSD::TP_Custom_Asynch_Request::dispatch_i | ( | ) | [protected, virtual] |
Dispatch the request to the servant.
Implements TAO::CSD::TP_Request.
Definition at line 21 of file CSD_TP_Custom_Asynch_Request.cpp.
{ try { this->execute_op(); } catch (const ::CORBA::Exception&) { // 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. } catch (...) { // 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. } }