TAO_SSLIOP 2.0.5
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes
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, ACE_TCHAR *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.

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,
ACE_TCHAR argv[] 
) [virtual]

Dynamic linking hook.

Implements TAO_Protocol_Factory.

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

Implements TAO_Protocol_Factory.

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

Implements TAO_Protocol_Factory.

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

Verify prefix is a match.

Implements 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.

Implements 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.

Implements 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

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

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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines