TAO_SSLIOP
2.0.8
|
SSLIOP-specific accept strategy that builds on the TAO_Accept_Strategy implementation. More...
#include <SSLIOP_Accept_Strategy.h>
Public Member Functions | |
Accept_Strategy (TAO_ORB_Core *orb_core, const ACE_Time_Value &timeout) | |
Constructor. | |
virtual int | accept_svc_handler (handler_type *svc_handler) |
Private Attributes | |
const ACE_Time_Value | timeout_ |
The accept() timeout. |
SSLIOP-specific accept strategy that builds on the TAO_Accept_Strategy implementation.
This accept strategy builds on on the TAO_Accept_Strategy implementation. It sub-classes that class, and overrides the accept_svc_handler() method so that a timeout value may be passed to the underlying peer acceptor. This is necessary to defend against a simple Denial-of-Service attack.
TAO::SSLIOP::Accept_Strategy::Accept_Strategy | ( | TAO_ORB_Core * | orb_core, |
const ACE_Time_Value & | timeout | ||
) |
Constructor.
int TAO::SSLIOP::Accept_Strategy::accept_svc_handler | ( | handler_type * | svc_handler | ) | [virtual] |
Overridden method that forces a passive connection timeout value to be passed to the underlying acceptor.
const ACE_Time_Value TAO::SSLIOP::Accept_Strategy::timeout_ [private] |
The accept() timeout.
This timeout includes the overall time to complete the SSL handshake. This includes both the TCP handshake and the SSL handshake.