#include <SSLIOP_Connection_Handler.h>
Collaboration diagram for TAO::SSLIOP::State_Guard:
Public Member Functions | |
State_Guard (TAO::SSLIOP::Connection_Handler *handler, int &result) | |
Constructor that sets up the TSS SSL state. | |
~State_Guard (void) | |
Destructor that tears down the TSS SSL state. | |
Private Attributes | |
Connection_Handler * | handler_ |
Current_Impl * | previous_current_impl_ |
Current_Impl | current_impl_ |
bool | setup_done_ |
This guard is used to make TSS SSL state configuration and deconfiguration during an upcall exception safe. Exceptions are not supposed to be propagated up to the scope this guard is used in, so this guard may be unnecessary. However, since proper TSS SSL state configuration/deconfiguration is critical to proper security support, this guard is used to ensure that configuration/deconfiguration is exception safe.
Definition at line 154 of file SSLIOP_Connection_Handler.h.
|
Constructor that sets up the TSS SSL state.
Definition at line 8 of file SSLIOP_Connection_Handler.i. References TAO::SSLIOP::Connection_Handler::setup_ssl_state().
00011 : handler_ (handler), 00012 previous_current_impl_ (0), 00013 current_impl_ (), 00014 setup_done_ (false) 00015 { 00016 // Set up the SSLIOP::Current object. 00017 result = this->handler_->setup_ssl_state (this->previous_current_impl_, 00018 &(this->current_impl_), 00019 this->setup_done_); 00020 } |
|
Destructor that tears down the TSS SSL state.
Definition at line 23 of file SSLIOP_Connection_Handler.i. References TAO::SSLIOP::Connection_Handler::teardown_ssl_state().
00024 { 00025 this->handler_->teardown_ssl_state (this->previous_current_impl_, 00026 this->setup_done_); 00027 } |
|
The SSLIOP::Current implementation to be associated with the current invocation. Definition at line 181 of file SSLIOP_Connection_Handler.h. |
|
Pointer to the connection handler currently handling the request/upcall. Definition at line 169 of file SSLIOP_Connection_Handler.h. |
|
It is stored here until the invocation completes, after which it placed back into TSS. Definition at line 177 of file SSLIOP_Connection_Handler.h. |
|
Flag that specifies whether or not setup of the SSLIOP::Current object completed for the current thread and invocation. Definition at line 185 of file SSLIOP_Connection_Handler.h. |