TAO_SSLIOP 4.0.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
TAO::SSLIOP::Acceptor Class Reference

The SSLIOP-specific bridge class for the concrete acceptor. More...

#include <SSLIOP_Acceptor.h>

Inheritance diagram for TAO::SSLIOP::Acceptor:
Inheritance graph
[legend]
Collaboration diagram for TAO::SSLIOP::Acceptor:
Collaboration graph
[legend]

Public Types

typedef TAO_Strategy_Acceptor< Connection_Handler, ACE_SSL_SOCK_Acceptor > BASE_ACCEPTOR
 
typedef TAO_Creation_Strategy< Connection_HandlerCREATION_STRATEGY
 
typedef TAO_Concurrency_Strategy< Connection_HandlerCONCURRENCY_STRATEGY
 
typedef Accept_Strategy ACCEPT_STRATEGY
 
- Public Types inherited from TAO::IIOP_SSL_Acceptor
typedef ACE_Strategy_Acceptor< IIOP_SSL_Connection_Handler, ACE_SOCK_ACCEPTORTAO_IIOP_SSL_BASE_ACCEPTOR
 
typedef TAO_Creation_Strategy< IIOP_SSL_Connection_HandlerTAO_IIOP_SSL_CREATION_STRATEGY
 
typedef TAO_Concurrency_Strategy< IIOP_SSL_Connection_HandlerTAO_IIOP_SSL_CONCURRENCY_STRATEGY
 
typedef TAO_Accept_Strategy< IIOP_SSL_Connection_Handler, ACE_SOCK_ACCEPTORTAO_IIOP_SSL_ACCEPT_STRATEGY
 

Public Member Functions

 Acceptor (::Security::QOP qop, const ACE_Time_Value &timeout, bool check_host)
 Constructor.
 
 ~Acceptor ()
 Destructor.
 
- Public Member Functions inherited from TAO::IIOP_SSL_Acceptor
 IIOP_SSL_Acceptor ()
 Constructor.
 
 ~IIOP_SSL_Acceptor ()
 Destructor.
 

Private Attributes

Acceptor Strategies

Strategies used when accepting an incoming connection.

CREATION_STRATEGYcreation_strategy_
 The CSIv1 SSL component.
 
CONCURRENCY_STRATEGYconcurrency_strategy_
 The CSIv1 SSL component.
 
ACCEPT_STRATEGYaccept_strategy_
 The CSIv1 SSL component.
 
::SSLIOP::SSL ssl_component_
 The CSIv1 SSL component.
 
CSIIOP::TLS_SEC_TRANS csiv2_component_
 The SSLIOP CSIv2 tagged component.
 
ACE_Time_Value const timeout_
 The accept() timeout.
 
bool check_host_
 The CSIv1 SSL component.
 

The TAO_Acceptor Methods

Check the documentation in tao/Pluggable.h for details.

BASE_ACCEPTOR ssl_acceptor_
 The concrete acceptor, as a pointer to it's base class.
 
virtual int open (TAO_ORB_Core *orb_core, ACE_Reactor *reactor, int version_major, int version_minor, const char *address, const char *options=0)
 The concrete acceptor, as a pointer to it's base class.
 
virtual int open_default (TAO_ORB_Core *orb_core, ACE_Reactor *reactor, int version_major, int version_minor, const char *options=0)
 The concrete acceptor, as a pointer to it's base class.
 
virtual int close ()
 The concrete acceptor, as a pointer to it's base class.
 
virtual int create_profile (const TAO::ObjectKey &object_key, TAO_MProfile &mprofile, CORBA::Short priority)
 The concrete acceptor, as a pointer to it's base class.
 
virtual int is_collocated (const TAO_Endpoint *endpoint)
 The concrete acceptor, as a pointer to it's base class.
 
const ::SSLIOP::SSLssl_component () const
 
int ssliop_open_i (TAO_ORB_Core *orb_core, const ACE_INET_Addr &addr, ACE_Reactor *reactor)
 Implement the common part of the open*() methods.
 
virtual int parse_options_i (int &argc, ACE_CString **argv)
 Parse protocol specific options.
 
int verify_secure_configuration (TAO_ORB_Core *orb_core, int major, int minor)
 
int create_new_profile (const TAO::ObjectKey &object_key, TAO_MProfile &mprofile, CORBA::Short priority)
 
int create_shared_profile (const TAO::ObjectKey &object_key, TAO_MProfile &mprofile, CORBA::Short priority)
 

Detailed Description

The SSLIOP-specific bridge class for the concrete acceptor.

Member Typedef Documentation

◆ ACCEPT_STRATEGY

◆ BASE_ACCEPTOR

◆ CONCURRENCY_STRATEGY

◆ CREATION_STRATEGY

Constructor & Destructor Documentation

◆ Acceptor()

TAO::SSLIOP::Acceptor::Acceptor ( ::Security::QOP qop,
const ACE_Time_Value & timeout,
bool check_host )

Constructor.

◆ ~Acceptor()

TAO::SSLIOP::Acceptor::~Acceptor ( )

Destructor.

Member Function Documentation

◆ close()

int TAO::SSLIOP::Acceptor::close ( )
virtual

The concrete acceptor, as a pointer to it's base class.

Reimplemented from TAO::IIOP_SSL_Acceptor.

◆ create_new_profile()

int TAO::SSLIOP::Acceptor::create_new_profile ( const TAO::ObjectKey & object_key,
TAO_MProfile & mprofile,
CORBA::Short priority )
private

Helper method to add a new profile to the mprofile for each endpoint.

◆ create_profile()

int TAO::SSLIOP::Acceptor::create_profile ( const TAO::ObjectKey & object_key,
TAO_MProfile & mprofile,
CORBA::Short priority )
virtual

The concrete acceptor, as a pointer to it's base class.

◆ create_shared_profile()

int TAO::SSLIOP::Acceptor::create_shared_profile ( const TAO::ObjectKey & object_key,
TAO_MProfile & mprofile,
CORBA::Short priority )
private

Helper method to create a profile that contains all of our endpoints.

◆ is_collocated()

int TAO::SSLIOP::Acceptor::is_collocated ( const TAO_Endpoint * endpoint)
virtual

The concrete acceptor, as a pointer to it's base class.

◆ open()

int TAO::SSLIOP::Acceptor::open ( TAO_ORB_Core * orb_core,
ACE_Reactor * reactor,
int version_major,
int version_minor,
const char * address,
const char * options = 0 )
virtual

The concrete acceptor, as a pointer to it's base class.

◆ open_default()

int TAO::SSLIOP::Acceptor::open_default ( TAO_ORB_Core * orb_core,
ACE_Reactor * reactor,
int version_major,
int version_minor,
const char * options = 0 )
virtual

The concrete acceptor, as a pointer to it's base class.

◆ parse_options_i()

int TAO::SSLIOP::Acceptor::parse_options_i ( int & argc,
ACE_CString ** argv )
privatevirtual

Parse protocol specific options.

◆ ssl_component()

const SSLIOP::SSL & TAO::SSLIOP::Acceptor::ssl_component ( ) const

Retrieve the CSIv1 SSLIOP::SSL component associated with the endpoints set up by this acceptor.

◆ ssliop_open_i()

int TAO::SSLIOP::Acceptor::ssliop_open_i ( TAO_ORB_Core * orb_core,
const ACE_INET_Addr & addr,
ACE_Reactor * reactor )
private

Implement the common part of the open*() methods.

◆ verify_secure_configuration()

int TAO::SSLIOP::Acceptor::verify_secure_configuration ( TAO_ORB_Core * orb_core,
int major,
int minor )
private

Ensure that neither the endpoint configuration nor the ORB configuration violate security measures.

Member Data Documentation

◆ accept_strategy_

ACCEPT_STRATEGY* TAO::SSLIOP::Acceptor::accept_strategy_
private

The CSIv1 SSL component.

This is the SSLIOP endpoint-specific tagged component that is embedded in a given IOR.

◆ check_host_

bool TAO::SSLIOP::Acceptor::check_host_
private

The CSIv1 SSL component.

This is the SSLIOP endpoint-specific tagged component that is embedded in a given IOR.

◆ concurrency_strategy_

CONCURRENCY_STRATEGY* TAO::SSLIOP::Acceptor::concurrency_strategy_
private

The CSIv1 SSL component.

This is the SSLIOP endpoint-specific tagged component that is embedded in a given IOR.

◆ creation_strategy_

CREATION_STRATEGY* TAO::SSLIOP::Acceptor::creation_strategy_
private

The CSIv1 SSL component.

This is the SSLIOP endpoint-specific tagged component that is embedded in a given IOR.

◆ csiv2_component_

CSIIOP::TLS_SEC_TRANS TAO::SSLIOP::Acceptor::csiv2_component_
private

The SSLIOP CSIv2 tagged component.

◆ ssl_acceptor_

BASE_ACCEPTOR TAO::SSLIOP::Acceptor::ssl_acceptor_
private

The concrete acceptor, as a pointer to it's base class.

◆ ssl_component_

::SSLIOP::SSL TAO::SSLIOP::Acceptor::ssl_component_
private

The CSIv1 SSL component.

This is the SSLIOP endpoint-specific tagged component that is embedded in a given IOR.

◆ timeout_

ACE_Time_Value const TAO::SSLIOP::Acceptor::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.


The documentation for this class was generated from the following files: