diff options
Diffstat (limited to 'ACE/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connection_Handler.inl')
-rw-r--r-- | ACE/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connection_Handler.inl | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/ACE/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connection_Handler.inl b/ACE/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connection_Handler.inl new file mode 100644 index 00000000000..193fc62f426 --- /dev/null +++ b/ACE/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Connection_Handler.inl @@ -0,0 +1,29 @@ +// -*- C++ -*- +// +// $Id$ + +TAO_BEGIN_VERSIONED_NAMESPACE_DECL + +ACE_INLINE +TAO::SSLIOP::State_Guard::State_Guard ( + TAO::SSLIOP::Connection_Handler *handler, + int &result) + : handler_ (handler), + previous_current_impl_ (0), + current_impl_ (), + setup_done_ (false) +{ + // Set up the SSLIOP::Current object. + result = this->handler_->setup_ssl_state (this->previous_current_impl_, + &(this->current_impl_), + this->setup_done_); +} + +ACE_INLINE +TAO::SSLIOP::State_Guard::~State_Guard (void) +{ + this->handler_->teardown_ssl_state (this->previous_current_impl_, + this->setup_done_); +} + +TAO_END_VERSIONED_NAMESPACE_DECL |