IIOP_SSL_Connection_Handler.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // IIOP_SSL_Connection_Handler.inl,v 1.3 2005/11/16 07:53:24 ossama Exp
00004 
00005 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00006 
00007 ACE_INLINE
00008 TAO::Null_SSL_State_Guard::Null_SSL_State_Guard (
00009   TAO::SSLIOP::Current_ptr current,
00010   int &result)
00011   : previous_current_impl_ (0),
00012     current_ (current), // No need to duplicate
00013     setup_done_ (false)
00014 {
00015   // Invalidate the TSS SSL session state to make sure that SSL state
00016   // from a previous SSL connection is not confused with this non-SSL
00017   // connection.
00018   current->setup (this->previous_current_impl_,
00019                   0, // Null SSL state
00020                   this->setup_done_);
00021 
00022   result = 0;
00023 }
00024 
00025 ACE_INLINE
00026 TAO::Null_SSL_State_Guard::~Null_SSL_State_Guard (void)
00027 {
00028   // Restore the previous TSS SSL state.
00029   this->current_->teardown (this->previous_current_impl_,
00030                             this->setup_done_);
00031 }
00032 
00033 TAO_END_VERSIONED_NAMESPACE_DECL

Generated on Thu Nov 9 13:54:12 2006 for TAO_SSLIOP by doxygen 1.3.6