TAO::IIOP_SSL_Acceptor Class Reference

An SSL aware IIOP acceptor. More...

#include <IIOP_SSL_Acceptor.h>

Inheritance diagram for TAO::IIOP_SSL_Acceptor:

Inheritance graph
[legend]
Collaboration diagram for TAO::IIOP_SSL_Acceptor:

Collaboration graph
[legend]
List of all members.

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_STRATEGYcreation_strategy_
TAO_IIOP_SSL_CONCURRENCY_STRATEGYconcurrency_strategy_
TAO_IIOP_SSL_ACCEPT_STRATEGYaccept_strategy_

Detailed Description

An SSL aware IIOP acceptor.

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.


Member Typedef Documentation

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.


Constructor & Destructor Documentation

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 }


Member Function Documentation

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 }


Member Data Documentation

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().


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:48:54 2010 for TAO_SSLIOP by  doxygen 1.4.7