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 ACE_ENV_ARG_DECL)
virtual TAO_Profilecreate_profile (TAO_InputCDR &cdr)
virtual int check_prefix (const char *endpoint)
virtual TAO_Profilecorbaloc_scan (const char *ior, size_t &len ACE_ENV_ARG_DECL)

Protected Member Functions

TAO_Profilemake_secure_profile (ACE_ENV_SINGLE_ARG_DECL)
 SSL-specific profile.
TAO_Transportiiop_connect (TAO_SSLIOP_Endpoint *ssliop_endpoint, TAO::Profile_Transport_Resolver *r, ACE_Time_Value *timeout ACE_ENV_ARG_DECL)
 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 ACE_ENV_ARG_DECL)
 SSLIOP-specific connection establishment.
TAO::SSLIOP::OwnCredentialsretrieve_credentials (TAO_Stub *stub, SSL *ssl ACE_ENV_ARG_DECL)
@c TAO_Connector Methods
Methods required by the TAO_Connector base class.

See also:
TAO_Connector


virtual TAO_Profilemake_profile (ACE_ENV_SINGLE_ARG_DECL)
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
 

Reimplemented from TAO::IIOP_SSL_Connector.

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

Reimplemented from TAO::IIOP_SSL_Connector.

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

Reimplemented from TAO::IIOP_SSL_Connector.

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

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  ACE_ENV_ARG_DECL
[virtual]
 

Reimplemented from TAO_Connector.

TAO_Profile * TAO::SSLIOP::Connector::corbaloc_scan const char *  ior,
size_t &len  ACE_ENV_ARG_DECL
[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  ACE_ENV_ARG_DECL
[protected]
 

IIOP-specific connection establishment.

Note:
The IIOP endpoint is extracted from the SSLIOP endpoint.

TAO_Profile * TAO::SSLIOP::Connector::make_profile ACE_ENV_SINGLE_ARG_DECL   )  [protected, virtual]
 

Reimplemented from TAO_IIOP_Connector.

TAO_Profile * TAO::SSLIOP::Connector::make_secure_profile ACE_ENV_SINGLE_ARG_DECL   )  [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  ACE_ENV_ARG_DECL
[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.

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  ACE_ENV_ARG_DECL
[protected]
 

SSLIOP-specific connection establishment.


Member Data Documentation

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

The connector initiating connection requests for IIOP.

Reimplemented from TAO::IIOP_SSL_Connector.

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

Our connect strategy.

Reimplemented from TAO::IIOP_SSL_Connector.

::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 Wed Nov 23 16:31:19 2005 for TAO_SSLIOP by  doxygen 1.4.5