TAO_SSLIOP  2.2.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
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
Collaboration diagram for TAO::SSLIOP::Connector:
Collaboration graph

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 Types inherited from TAO::IIOP_SSL_Connector
typedef
TAO_Connect_Concurrency_Strategy
< IIOP_SSL_Connection_Handler
CONNECT_CONCURRENCY_STRATEGY
 
typedef
TAO_Connect_Creation_Strategy
< IIOP_SSL_Connection_Handler
CONNECT_CREATION_STRATEGY
 
typedef ACE_Connect_Strategy
< IIOP_SSL_Connection_Handler,
ACE_SOCK_CONNECTOR
CONNECT_STRATEGY
 
typedef ACE_Strategy_Connector
< IIOP_SSL_Connection_Handler,
ACE_SOCK_CONNECTOR
BASE_CONNECTOR
 
- Public Types inherited from TAO_IIOP_Connector
typedef
TAO_Connect_Concurrency_Strategy
< TAO_IIOP_Connection_Handler
TAO_IIOP_CONNECT_CONCURRENCY_STRATEGY
 
typedef
TAO_Connect_Creation_Strategy
< TAO_IIOP_Connection_Handler
TAO_IIOP_CONNECT_CREATION_STRATEGY
 
typedef ACE_Connect_Strategy
< TAO_IIOP_Connection_Handler,
ACE_SOCK_CONNECTOR
TAO_IIOP_CONNECT_STRATEGY
 
typedef ACE_Strategy_Connector
< TAO_IIOP_Connection_Handler,
ACE_SOCK_CONNECTOR
TAO_IIOP_BASE_CONNECTOR
 

Public Member Functions

 Connector (::Security::QOP qop)
 Constructor. More...
 
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)
 
- Public Member Functions inherited from TAO::IIOP_SSL_Connector
 IIOP_SSL_Connector (void)
 Constructor. More...
 
 ~IIOP_SSL_Connector (void)
 Destructor. More...
 
- Public Member Functions inherited from TAO_IIOP_Connector
 TAO_IIOP_Connector (void)
 
 ~TAO_IIOP_Connector (void)
 
virtual char object_key_delimiter (void) const
 
- Public Member Functions inherited from TAO_Connector
 TAO_Connector (CORBA::ULong tag)
 
virtual ~TAO_Connector (void)
 
CORBA::ULong tag (void) const
 
int make_mprofile (const char *ior, TAO_MProfile &mprofile)
 
virtual TAO_Transportparallel_connect (TAO::Profile_Transport_Resolver *r, TAO_Transport_Descriptor_Interface *desc, ACE_Time_Value *timeout)
 

Protected Member Functions

TAO_Profilemake_secure_profile (void)
 SSL-specific profile. More...
 
TAO_Transportiiop_connect (TAO_SSLIOP_Endpoint *ssliop_endpoint, TAO::Profile_Transport_Resolver *r, ACE_Time_Value *timeout)
 IIOP-specific connection establishment. More...
 
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. More...
 
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)
 
- Protected Member Functions inherited from TAO::IIOP_SSL_Connector
int set_validate_endpoint (TAO_Endpoint *ep)
 
TAO_Transportmake_connection (TAO::Profile_Transport_Resolver *r, TAO_Transport_Descriptor_Interface &desc, ACE_Time_Value *timeout=0)
 
- Protected Member Functions inherited from TAO_IIOP_Connector
virtual int supports_parallel_connects (void) const
 
virtual TAO_Transportmake_parallel_connection (TAO::Profile_Transport_Resolver *r, TAO_Transport_Descriptor_Interface &desc, ACE_Time_Value *timeout=0)
 
- Protected Member Functions inherited from TAO_Connector
virtual int check_connection_closure (TAO_Connection_Handler *connection_handler)
 
virtual bool wait_for_connection_completion (TAO::Profile_Transport_Resolver *r, TAO_Transport_Descriptor_Interface &desc, TAO_Transport *&transport, ACE_Time_Value *timeout)
 
virtual bool wait_for_connection_completion (TAO::Profile_Transport_Resolver *r, TAO_Transport *&the_winner, TAO_Transport **transport, unsigned int count, TAO_LF_Multi_Event *mev, ACE_Time_Value *timeout)
 
void cleanup_pending (TAO_Transport *&the_winner, TAO_Transport **transport, unsigned int count)
 
bool new_connection_is_ok (size_t busy_count)
 
bool wait_for_transport (TAO::Profile_Transport_Resolver *r, TAO_Transport *base_transport, ACE_Time_Value *timeout, bool force_wait)
 
void orb_core (TAO_ORB_Core *orb_core)
 
int create_connect_strategy (void)
 
TAO_ORB_Coreorb_core (void)
 

Private Attributes

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

Additional Inherited Members

- Protected Attributes inherited from TAO_Connector
TAO_Connect_Strategyactive_connect_strategy_
 

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

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)
protectedvirtual

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  )
protectedvirtual

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

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: