TAO::SSLIOP::Connector Class Reference

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

#include <SSLIOP_Connector.h>

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

typedef ACE_Strategy_Connector<Connection_Handler, ACE_SSL_SOCK_CONNECTOR> TAO::SSLIOP::Connector::BASE_CONNECTOR

typedef TAO_Connect_Concurrency_Strategy<Connection_Handler> TAO::SSLIOP::Connector::CONNECT_CONCURRENCY_STRATEGY

typedef TAO_Connect_Creation_Strategy<Connection_Handler> TAO::SSLIOP::Connector::CONNECT_CREATION_STRATEGY

typedef ACE_Connect_Strategy<Connection_Handler, ACE_SSL_SOCK_CONNECTOR> TAO::SSLIOP::Connector::CONNECT_STRATEGY


Constructor & Destructor Documentation

TAO_BEGIN_VERSIONED_NAMESPACE_DECL 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]

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

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

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

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

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

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]

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

SSL-specific profile.

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

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

BASE_CONNECTOR TAO::SSLIOP::Connector::base_connector_ [private]

The connector initiating connection requests for IIOP.

CONNECT_STRATEGY TAO::SSLIOP::Connector::connect_strategy_ [private]

Our connect strategy.

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

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:
Generated on Mon Apr 30 23:36:07 2007 for TAO_SSLIOP by  doxygen 1.4.7-1