TAO_SSLIOP  2.0.8
Public Types | Public Member Functions | Protected Member Functions | Private Attributes
TAO::SSLIOP::Connector Class Reference

SSLIOP-specific Connector bridge for pluggable protocols. More...

#include <SSLIOP_Connector.h>

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

List of all members.

Public Types

typedef
TAO_Connect_Concurrency_Strategy
< Connection_Handler
CONNECT_CONCURRENCY_STRATEGY
typedef
TAO_Connect_Creation_Strategy
< Connection_Handler
CONNECT_CREATION_STRATEGY
typedef ACE_Connect_Strategy
< Connection_Handler,
ACE_SSL_SOCK_Connector > 
CONNECT_STRATEGY
typedef ACE_Strategy_Connector
< Connection_Handler,
ACE_SSL_SOCK_Connector > 
BASE_CONNECTOR

Public Member Functions

 Connector (::Security::QOP qop)
 Constructor.
The TAO_Connector methods

Please check the documentation in Transport_Connector.h

virtual int open (TAO_ORB_Core *orb_core)
virtual int close (void)
virtual TAO_Transportconnect (TAO::Profile_Transport_Resolver *r, TAO_Transport_Descriptor_Interface *desc, ACE_Time_Value *timeout)
virtual TAO_Profilecreate_profile (TAO_InputCDR &cdr)
virtual int check_prefix (const char *endpoint)
virtual TAO_Profilecorbaloc_scan (const char *ior, size_t &len)

Protected Member Functions

TAO_Profilemake_secure_profile (void)
 SSL-specific profile.
TAO_Transportiiop_connect (TAO_SSLIOP_Endpoint *ssliop_endpoint, TAO::Profile_Transport_Resolver *r, ACE_Time_Value *timeout)
 IIOP-specific connection establishment.
TAO_Transportssliop_connect (TAO_SSLIOP_Endpoint *ssliop_endpoint,::Security::QOP qop, const ::Security::EstablishTrust &trust, TAO::Profile_Transport_Resolver *r, TAO_Transport_Descriptor_Interface *desc, ACE_Time_Value *timeout)
 SSLIOP-specific connection establishment.
TAO::SSLIOP::OwnCredentialsretrieve_credentials (TAO_Stub *stub, SSL *ssl)
@c TAO_Connector Methods

Methods required by the TAO_Connector base class.

See also:
TAO_Connector
virtual TAO_Profilemake_profile (void)
virtual int cancel_svc_handler (TAO_Connection_Handler *svc_handler)

Private Attributes

::Security::QOP qop_
CONNECT_STRATEGY connect_strategy_
 Our connect strategy.
BASE_CONNECTOR base_connector_
 The connector initiating connection requests for IIOP.

Detailed Description

SSLIOP-specific Connector bridge for pluggable protocols.

Concrete instance of the TAO_Connector class. Responsible for establishing a connection with a server and is called from the Connector_Registry.


Member Typedef Documentation

Reimplemented from TAO::IIOP_SSL_Connector.

Reimplemented from TAO::IIOP_SSL_Connector.

Reimplemented from TAO::IIOP_SSL_Connector.

Reimplemented from TAO::IIOP_SSL_Connector.


Constructor & Destructor Documentation

TAO::SSLIOP::Connector::Connector ( ::Security::QOP  qop)

Constructor.


Member Function Documentation

int TAO::SSLIOP::Connector::cancel_svc_handler ( TAO_Connection_Handler svc_handler) [protected, virtual]

Reimplemented from TAO::IIOP_SSL_Connector.

int TAO::SSLIOP::Connector::check_prefix ( const char *  endpoint) [virtual]

Reimplemented from TAO_IIOP_Connector.

int TAO::SSLIOP::Connector::close ( void  ) [virtual]

Reimplemented from TAO::IIOP_SSL_Connector.

TAO_Transport * TAO::SSLIOP::Connector::connect ( TAO::Profile_Transport_Resolver *  r,
TAO_Transport_Descriptor_Interface desc,
ACE_Time_Value timeout 
) [virtual]

Reimplemented from TAO_Connector.

TAO_Profile * TAO::SSLIOP::Connector::corbaloc_scan ( const char *  ior,
size_t &  len 
) [virtual]

Reimplemented from TAO_Connector.

TAO_Profile * TAO::SSLIOP::Connector::create_profile ( TAO_InputCDR cdr) [virtual]

Reimplemented from TAO_IIOP_Connector.

TAO_Transport * TAO::SSLIOP::Connector::iiop_connect ( TAO_SSLIOP_Endpoint ssliop_endpoint,
TAO::Profile_Transport_Resolver *  r,
ACE_Time_Value timeout 
) [protected]

IIOP-specific connection establishment.

Note:
The IIOP endpoint is extracted from the SSLIOP endpoint.
TAO_Profile * TAO::SSLIOP::Connector::make_profile ( void  ) [protected, virtual]

Reimplemented from TAO_IIOP_Connector.

TAO_Profile * TAO::SSLIOP::Connector::make_secure_profile ( void  ) [protected]

SSL-specific profile.

int TAO::SSLIOP::Connector::open ( TAO_ORB_Core orb_core) [virtual]

Reimplemented from TAO::IIOP_SSL_Connector.

TAO::SSLIOP::OwnCredentials * TAO::SSLIOP::Connector::retrieve_credentials ( TAO_Stub stub,
SSL *  ssl 
) [protected]

Retrieve SSLIOP credentials from the policy overrides list and set up the underlying SSL connection to use the X.509 certificates stored within them.

Todo:
Check if the CredentialsCurator contains a default set of SSLIOP OwnCredentials.
TAO_Transport * TAO::SSLIOP::Connector::ssliop_connect ( TAO_SSLIOP_Endpoint ssliop_endpoint,
::Security::QOP  qop,
const ::Security::EstablishTrust trust,
TAO::Profile_Transport_Resolver *  r,
TAO_Transport_Descriptor_Interface desc,
ACE_Time_Value timeout 
) [protected]

SSLIOP-specific connection establishment.


Member Data Documentation

The connector initiating connection requests for IIOP.

Reimplemented from TAO::IIOP_SSL_Connector.

Our connect strategy.

Reimplemented from TAO::IIOP_SSL_Connector.

If zero, connect to IIOP over SSL port by default. Otherwise, connect to the insecure IIOP port.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines