diff options
Diffstat (limited to 'ACE/TAO/tao/CSD_ThreadPool/CSD_TP_Custom_Request_Operation.inl')
-rw-r--r-- | ACE/TAO/tao/CSD_ThreadPool/CSD_TP_Custom_Request_Operation.inl | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/ACE/TAO/tao/CSD_ThreadPool/CSD_TP_Custom_Request_Operation.inl b/ACE/TAO/tao/CSD_ThreadPool/CSD_TP_Custom_Request_Operation.inl new file mode 100644 index 00000000000..7c266f21c6b --- /dev/null +++ b/ACE/TAO/tao/CSD_ThreadPool/CSD_TP_Custom_Request_Operation.inl @@ -0,0 +1,39 @@ +// -*- C++ -*- +// +// $Id$ + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +ACE_INLINE +TAO::CSD::TP_Custom_Request_Operation::TP_Custom_Request_Operation + (PortableServer::Servant servant) +: servant_ (servant) +{ + this->servant_->_add_ref (); +} + + +ACE_INLINE +void +TAO::CSD::TP_Custom_Request_Operation::execute (void) +{ + this->execute_i(); +} + + +ACE_INLINE +void +TAO::CSD::TP_Custom_Request_Operation::cancel() +{ + this->cancel_i(); +} + + +ACE_INLINE +PortableServer::Servant +TAO::CSD::TP_Custom_Request_Operation::servant() +{ + return this->servant_.in(); +} + +TAO_END_VERSIONED_NAMESPACE_DECL |