TAO::SSLIOP::Protocol_Factory Class Reference

SSLIOP-specific protocol factory implementation. More...

#include <SSLIOP_Factory.h>

Inheritance diagram for TAO::SSLIOP::Protocol_Factory:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Protocol_Factory (void)
 Constructor.
virtual ~Protocol_Factory (void)
 Destructor.
virtual int init (int argc, char *argv[])
 Dynamic linking hook.
virtual int match_prefix (const ACE_CString &prefix)
 Verify prefix is a match.
virtual const char * prefix (void) const
 Returns the prefix used by the protocol.
virtual char options_delimiter (void) const
virtual TAO_Acceptormake_acceptor (void)
virtual TAO_Connectormake_connector (void)
virtual int requires_explicit_endpoint (void) const

Private Member Functions

int register_orb_initializer (CSIIOP::AssociationOptions csiv2_target_supports, CSIIOP::AssociationOptions csiv2_target_requires)
 Create and register the SSLIOP ORB initializer.

Static Private Member Functions

static int parse_x509_file (char *arg, char **path)

Private Attributes

::Security::QOP qop_
ACE_Time_Value timeout_
 The accept() timeout.
CSIIOP::TLS_SEC_TRANS * csiv2_component_
 The SSLIOP-specific CSIv2 transport mechanism component.

Detailed Description

SSLIOP-specific protocol factory implementation.

This class implements the SSLIOP-specific protocol factory implementation for use in TAO's pluggable protocols framework.


Constructor & Destructor Documentation

TAO::SSLIOP::Protocol_Factory::Protocol_Factory void   ) 
 

Constructor.

TAO::SSLIOP::Protocol_Factory::~Protocol_Factory void   )  [virtual]
 

Destructor.


Member Function Documentation

int TAO::SSLIOP::Protocol_Factory::init int  argc,
char *  argv[]
[virtual]
 

Dynamic linking hook.

Reimplemented from TAO_Protocol_Factory.

TAO_Acceptor * TAO::SSLIOP::Protocol_Factory::make_acceptor void   )  [virtual]
 

Reimplemented from TAO_Protocol_Factory.

TAO_Connector * TAO::SSLIOP::Protocol_Factory::make_connector void   )  [virtual]
 

Reimplemented from TAO_Protocol_Factory.

int TAO::SSLIOP::Protocol_Factory::match_prefix const ACE_CString prefix  )  [virtual]
 

Verify prefix is a match.

Reimplemented from TAO_Protocol_Factory.

char TAO::SSLIOP::Protocol_Factory::options_delimiter void   )  const [virtual]
 

Return the character used to mark where an endpoint ends and where its options begin.

Reimplemented from TAO_Protocol_Factory.

int TAO::SSLIOP::Protocol_Factory::parse_x509_file char *  arg,
char **  path
[static, private]
 

Parse an X509 file path, which is expected to looks like: <X509Path> ::= <Prefix> ':' <Path> <Prefix> ::= 'PEM' | 'ASN1' <Path> ::= any-string Returns either SSL_FILETYPE_ASN1, SSL_FILETYPE_PEM or -1 if the prefix can not be recognized. The *path will point to the part of the original buffer, after the initial ':', or will contain 0, if no path was specified.

Beware: This function modifies the buffer pointed to by arg!

const char * TAO::SSLIOP::Protocol_Factory::prefix void   )  const [virtual]
 

Returns the prefix used by the protocol.

Reimplemented from TAO_Protocol_Factory.

int TAO::SSLIOP::Protocol_Factory::register_orb_initializer CSIIOP::AssociationOptions  csiv2_target_supports,
CSIIOP::AssociationOptions  csiv2_target_requires
[private]
 

Create and register the SSLIOP ORB initializer.

int TAO::SSLIOP::Protocol_Factory::requires_explicit_endpoint void   )  const [virtual]
 

Implements TAO_Protocol_Factory.


Member Data Documentation

CSIIOP::TLS_SEC_TRANS* TAO::SSLIOP::Protocol_Factory::csiv2_component_ [private]
 

The SSLIOP-specific CSIv2 transport mechanism component.

This SSLIOP-specific structure is embedded in the CSIv2 transport mechanism list of the CSIIOP::CompoundSecMechList IOR tagged component.

::Security::QOP TAO::SSLIOP::Protocol_Factory::qop_ [private]
 

Default quality-of-protection settings for the SSLIOP pluggable protocol.

ACE_Time_Value TAO::SSLIOP::Protocol_Factory::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:
Generated on Wed Nov 23 16:31:22 2005 for TAO_SSLIOP by  doxygen 1.4.5