TAO_SSLIOP
2.3.3
|
This Class that sets up TSS SSL states upon instantiation, and tears down the TSS SSL state when that instance goes out of scope. More...
#include <SSLIOP_Connection_Handler.h>
Public Member Functions | |
State_Guard (TAO::SSLIOP::Connection_Handler *handler, int &result) | |
Constructor that sets up the TSS SSL state. More... | |
~State_Guard (void) | |
Destructor that tears down the TSS SSL state. More... | |
Private Attributes | |
Connection_Handler * | handler_ |
Current_Impl * | previous_current_impl_ |
Current_Impl | current_impl_ |
bool | setup_done_ |
This Class that sets up TSS SSL states upon instantiation, and tears down the TSS SSL state when that instance goes out of scope.
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.
TAO::SSLIOP::State_Guard::State_Guard | ( | TAO::SSLIOP::Connection_Handler * | handler, |
int & | result | ||
) |
Constructor that sets up the TSS SSL state.
TAO::SSLIOP::State_Guard::~State_Guard | ( | void | ) |
Destructor that tears down the TSS SSL state.
|
private |
The SSLIOP::Current implementation to be associated with the current invocation.
|
private |
Pointer to the connection handler currently handling the request/upcall.
|
private |
The SSLIOP::Current implementation that was previously associated with the current thread and invocation. It is stored here until the invocation completes, after which it placed back into TSS.
|
private |
Flag that specifies whether or not setup of the SSLIOP::Current object completed for the current thread and invocation.