TAO_SSLIOP  2.1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
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]

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
- Public Member Functions inherited from TAO_Protocol_Factory
 TAO_Protocol_Factory (CORBA::ULong tag)
virtual ~TAO_Protocol_Factory (void)
CORBA::ULong tag (void) const
- Public Member Functions inherited from ACE_Service_Object
 ACE_Service_Object (ACE_Reactor *=0)
virtual ~ACE_Service_Object (void)
virtual int suspend (void)
virtual int resume (void)
virtual ~ACE_Event_Handler (void)
virtual ACE_HANDLE get_handle (void) const
virtual void set_handle (ACE_HANDLE)
virtual int priority (void) const
virtual void priority (int priority)
virtual int handle_input (ACE_HANDLE fd=ACE_INVALID_HANDLE)
virtual int handle_output (ACE_HANDLE fd=ACE_INVALID_HANDLE)
virtual int handle_exception (ACE_HANDLE fd=ACE_INVALID_HANDLE)
virtual int handle_timeout (const ACE_Time_Value &current_time, const void *act=0)
virtual int handle_exit (ACE_Process *)
virtual int handle_close (ACE_HANDLE handle, ACE_Reactor_Mask close_mask)
virtual int handle_signal (int signum, siginfo_t *=0, ucontext_t *=0)
virtual int resume_handler (void)
virtual int handle_qos (ACE_HANDLE=ACE_INVALID_HANDLE)
virtual int handle_group_qos (ACE_HANDLE=ACE_INVALID_HANDLE)
virtual void reactor (ACE_Reactor *reactor)
virtual ACE_Reactorreactor (void) const
virtual
ACE_Reactor_Timer_Interface
reactor_timer_interface (void) const
virtual Reference_Count add_reference (void)
virtual Reference_Count remove_reference (void)
Reference_Counting_Policyreference_counting_policy (void)
 ACE_Shared_Object (void)
virtual ~ACE_Shared_Object (void)
virtual int fini (void)
virtual int info (ACE_TCHAR **info_string, size_t length=0) 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.

Additional Inherited Members

- Public Types inherited from ACE_Service_Object
typedef long Reference_Count
- Static Public Member Functions inherited from ACE_Service_Object
static ACE_THR_FUNC_RETURN read_adapter (void *event_handler)
static int register_stdin_handler (ACE_Event_Handler *eh, ACE_Reactor *reactor, ACE_Thread_Manager *thr_mgr, int flags=THR_DETACHED)
static int remove_stdin_handler (ACE_Reactor *reactor, ACE_Thread_Manager *thr_mgr)
- Public Attributes inherited from ACE_Service_Object
 LO_PRIORITY
 HI_PRIORITY
 NULL_MASK
 READ_MASK
 WRITE_MASK
 EXCEPT_MASK
 ACCEPT_MASK
 CONNECT_MASK
 TIMER_MASK
 QOS_MASK
 GROUP_QOS_MASK
 SIGNAL_MASK
 ALL_EVENTS_MASK
 RWE_MASK
 DONT_CALL
 ACE_EVENT_HANDLER_NOT_RESUMED
 ACE_REACTOR_RESUMES_HANDLER
 ACE_APPLICATION_RESUMES_HANDLER
- Protected Types inherited from ACE_Service_Object
typedef ACE_Atomic_Op
< ACE_SYNCH_MUTEX,
Reference_Count
Atomic_Reference_Count
- Protected Member Functions inherited from ACE_Service_Object
 ACE_Event_Handler (ACE_Reactor *=0, int priority=ACE_Event_Handler::LO_PRIORITY)
- Protected Attributes inherited from ACE_Service_Object
Atomic_Reference_Count reference_count_

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

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

::Security::QOP TAO::SSLIOP::Protocol_Factory::qop_
private

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

ACE_Time_Value TAO::SSLIOP::Protocol_Factory::timeout_
private

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: