Base class for all custom request operations. More...
#include <CSD_TP_Custom_Request_Operation.h>
Public Member Functions | |
virtual | ~TP_Custom_Request_Operation () |
Virtual Destructor. | |
void | execute () |
Invoked by a worker thread to perform the operation. | |
void | cancel () |
Invoked when the request has been cancelled. | |
PortableServer::Servant | servant () |
Protected Member Functions | |
TP_Custom_Request_Operation (PortableServer::Servant servant) | |
Constructor. | |
virtual void | execute_i ()=0 |
virtual void | cancel_i ()=0 |
Private Attributes | |
PortableServer::ServantBase_var | servant_ |
Base class for all custom request operations.
TBD - Add description
Definition at line 53 of file CSD_TP_Custom_Request_Operation.h.
TAO::CSD::TP_Custom_Request_Operation::~TP_Custom_Request_Operation | ( | ) | [virtual] |
TAO::CSD::TP_Custom_Request_Operation::TP_Custom_Request_Operation | ( | PortableServer::Servant | servant | ) | [protected] |
Constructor.
Definition at line 9 of file CSD_TP_Custom_Request_Operation.inl.
void TAO::CSD::TP_Custom_Request_Operation::cancel | ( | void | ) |
Invoked when the request has been cancelled.
Definition at line 26 of file CSD_TP_Custom_Request_Operation.inl.
{ this->cancel_i(); }
virtual void TAO::CSD::TP_Custom_Request_Operation::cancel_i | ( | ) | [protected, pure virtual] |
void TAO::CSD::TP_Custom_Request_Operation::execute | ( | void | ) |
Invoked by a worker thread to perform the operation.
Definition at line 18 of file CSD_TP_Custom_Request_Operation.inl.
{ this->execute_i(); }
virtual void TAO::CSD::TP_Custom_Request_Operation::execute_i | ( | ) | [protected, pure virtual] |
PortableServer::Servant TAO::CSD::TP_Custom_Request_Operation::servant | ( | ) |
Used by the TP_Strategy to obtain the target servant in order to construct the custom request object. Returns the servant as an "in" argument (the caller does not get a new 'copy'). This is useful for chaining.
Definition at line 34 of file CSD_TP_Custom_Request_Operation.inl.
PortableServer::ServantBase_var TAO::CSD::TP_Custom_Request_Operation::servant_ [private] |
Definition at line 85 of file CSD_TP_Custom_Request_Operation.h.