#include <IIOP_SSL_Acceptor.h>
Inheritance diagram for TAO::IIOP_SSL_Acceptor:
Public Types | |
typedef ACE_Strategy_Acceptor< IIOP_SSL_Connection_Handler, ACE_SOCK_ACCEPTOR > | TAO_IIOP_SSL_BASE_ACCEPTOR |
typedef TAO_Creation_Strategy< IIOP_SSL_Connection_Handler > | TAO_IIOP_SSL_CREATION_STRATEGY |
typedef TAO_Concurrency_Strategy< IIOP_SSL_Connection_Handler > | TAO_IIOP_SSL_CONCURRENCY_STRATEGY |
typedef TAO_Accept_Strategy< IIOP_SSL_Connection_Handler, ACE_SOCK_ACCEPTOR > | TAO_IIOP_SSL_ACCEPT_STRATEGY |
Public Member Functions | |
IIOP_SSL_Acceptor (void) | |
Constructor. | |
~IIOP_SSL_Acceptor (void) | |
Destructor. | |
virtual int | close (void) |
Private Attributes | |
TAO_IIOP_SSL_BASE_ACCEPTOR | base_acceptor_ |
The concrete acceptor, as a pointer to it's base class. | |
Acceptor Strategies | |
Server side creation, concurrency and accept strategies. | |
TAO_IIOP_SSL_CREATION_STRATEGY * | creation_strategy_ |
TAO_IIOP_SSL_CONCURRENCY_STRATEGY * | concurrency_strategy_ |
TAO_IIOP_SSL_ACCEPT_STRATEGY * | accept_strategy_ |
The class differs from the non-SSL aware TAO_IIOP_Acceptor class since it uses a different a set of Acceptor strategies. In particular, it overrides the open_i() method to use the Acceptor strategies tailored to use the SSL aware server connection handler. See the TAO_IIOP_SSL_Connection_Handler notes for details.
Definition at line 45 of file IIOP_SSL_Acceptor.h.
typedef TAO_Accept_Strategy<IIOP_SSL_Connection_Handler, ACE_SOCK_ACCEPTOR> TAO::IIOP_SSL_Acceptor::TAO_IIOP_SSL_ACCEPT_STRATEGY |
Definition at line 52 of file IIOP_SSL_Acceptor.h.
typedef ACE_Strategy_Acceptor<IIOP_SSL_Connection_Handler, ACE_SOCK_ACCEPTOR> TAO::IIOP_SSL_Acceptor::TAO_IIOP_SSL_BASE_ACCEPTOR |
Definition at line 49 of file IIOP_SSL_Acceptor.h.
typedef TAO_Concurrency_Strategy<IIOP_SSL_Connection_Handler> TAO::IIOP_SSL_Acceptor::TAO_IIOP_SSL_CONCURRENCY_STRATEGY |
Definition at line 51 of file IIOP_SSL_Acceptor.h.
typedef TAO_Creation_Strategy<IIOP_SSL_Connection_Handler> TAO::IIOP_SSL_Acceptor::TAO_IIOP_SSL_CREATION_STRATEGY |
Definition at line 50 of file IIOP_SSL_Acceptor.h.
TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO::IIOP_SSL_Acceptor::IIOP_SSL_Acceptor | ( | void | ) |
Constructor.
Definition at line 13 of file IIOP_SSL_Acceptor.cpp.
00014 : TAO_IIOP_Acceptor (), 00015 base_acceptor_ (), 00016 creation_strategy_ (0), 00017 concurrency_strategy_ (0), 00018 accept_strategy_ (0) 00019 { 00020 }
TAO::IIOP_SSL_Acceptor::~IIOP_SSL_Acceptor | ( | void | ) |
Destructor.
Definition at line 22 of file IIOP_SSL_Acceptor.cpp.
References accept_strategy_, close(), concurrency_strategy_, creation_strategy_, and ~IIOP_SSL_Acceptor().
Referenced by ~IIOP_SSL_Acceptor().
00023 { 00024 // Make sure we are closed before we start destroying the 00025 // strategies. 00026 this->close (); 00027 00028 delete this->creation_strategy_; 00029 delete this->concurrency_strategy_; 00030 delete this->accept_strategy_; 00031 }
int TAO::IIOP_SSL_Acceptor::close | ( | void | ) | [virtual] |
Reimplemented from TAO_IIOP_Acceptor.
Definition at line 34 of file IIOP_SSL_Acceptor.cpp.
References base_acceptor_, and ACE_Acceptor< SVC_HANDLER, >::close().
00035 { 00036 return this->base_acceptor_.close (); 00037 }
TAO_IIOP_SSL_ACCEPT_STRATEGY* TAO::IIOP_SSL_Acceptor::accept_strategy_ [private] |
Reimplemented from TAO_IIOP_Acceptor.
Definition at line 75 of file IIOP_SSL_Acceptor.h.
Referenced by ~IIOP_SSL_Acceptor().
TAO_IIOP_SSL_BASE_ACCEPTOR TAO::IIOP_SSL_Acceptor::base_acceptor_ [private] |
The concrete acceptor, as a pointer to it's base class.
Reimplemented from TAO_IIOP_Acceptor.
Definition at line 65 of file IIOP_SSL_Acceptor.h.
Referenced by close().
TAO_IIOP_SSL_CONCURRENCY_STRATEGY* TAO::IIOP_SSL_Acceptor::concurrency_strategy_ [private] |
Reimplemented from TAO_IIOP_Acceptor.
Definition at line 74 of file IIOP_SSL_Acceptor.h.
Referenced by ~IIOP_SSL_Acceptor().
TAO_IIOP_SSL_CREATION_STRATEGY* TAO::IIOP_SSL_Acceptor::creation_strategy_ [private] |
Reimplemented from TAO_IIOP_Acceptor.
Definition at line 73 of file IIOP_SSL_Acceptor.h.
Referenced by ~IIOP_SSL_Acceptor().