TAO_SSLIOP  2.2.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Private Attributes | List of all members
TAO::IIOP_SSL_Acceptor Class Reference

An SSL aware IIOP acceptor. More...

#include <IIOP_SSL_Acceptor.h>

Inheritance diagram for TAO::IIOP_SSL_Acceptor:
Inheritance graph
Collaboration diagram for TAO::IIOP_SSL_Acceptor:
Collaboration graph

Public Types

typedef ACE_Strategy_Acceptor
< IIOP_SSL_Connection_Handler,
ACE_SOCK_ACCEPTOR
TAO_IIOP_SSL_BASE_ACCEPTOR
 
typedef TAO_Creation_Strategy
< IIOP_SSL_Connection_Handler
TAO_IIOP_SSL_CREATION_STRATEGY
 
typedef
TAO_Concurrency_Strategy
< IIOP_SSL_Connection_Handler
TAO_IIOP_SSL_CONCURRENCY_STRATEGY
 
typedef TAO_Accept_Strategy
< IIOP_SSL_Connection_Handler,
ACE_SOCK_ACCEPTOR
TAO_IIOP_SSL_ACCEPT_STRATEGY
 
- Public Types inherited from TAO_IIOP_Acceptor
typedef TAO_Strategy_Acceptor
< TAO_IIOP_Connection_Handler,
ACE_SOCK_ACCEPTOR
BASE_ACCEPTOR
 
typedef TAO_Creation_Strategy
< TAO_IIOP_Connection_Handler
CREATION_STRATEGY
 
typedef
TAO_Concurrency_Strategy
< TAO_IIOP_Connection_Handler
CONCURRENCY_STRATEGY
 
typedef TAO_Accept_Strategy
< TAO_IIOP_Connection_Handler,
ACE_SOCK_ACCEPTOR
ACCEPT_STRATEGY
 

Public Member Functions

 IIOP_SSL_Acceptor (void)
 Constructor. More...
 
 ~IIOP_SSL_Acceptor (void)
 Destructor. More...
 
virtual int close (void)
 
- Public Member Functions inherited from TAO_IIOP_Acceptor
 TAO_IIOP_Acceptor (void)
 
 ~TAO_IIOP_Acceptor (void)
 
const ACE_INET_Addraddress (void) const
 
const ACE_INET_Addrendpoints (void)
 
const ACE_INET_Addrdefault_address (void) const
 
void set_default_address (const ACE_INET_Addr &addr)
 
virtual int open (TAO_ORB_Core *orb_core, ACE_Reactor *reactor, int version_major, int version_minor, const char *address, const char *options=0)
 
virtual int open_default (TAO_ORB_Core *orb_core, ACE_Reactor *reactor, int version_major, int version_minor, const char *options=0)
 
virtual int create_profile (const TAO::ObjectKey &object_key, TAO_MProfile &mprofile, CORBA::Short priority)
 
virtual int is_collocated (const TAO_Endpoint *endpoint)
 
virtual CORBA::ULong endpoint_count (void)
 
virtual int object_key (IOP::TaggedProfile &profile, TAO::ObjectKey &key)
 
virtual int hostname (TAO_ORB_Core *orb_core, const ACE_INET_Addr &addr, char *&host, const char *specified_hostname=0)
 
- Public Member Functions inherited from TAO_Acceptor
 TAO_Acceptor (CORBA::ULong tag)
 
virtual ~TAO_Acceptor (void)
 
CORBA::ULong tag (void) const
 
void set_error_retry_delay (time_t delay)
 
int handle_accept_error (ACE_Event_Handler *base_acceptor)
 
int handle_expiration (ACE_Event_Handler *base_acceptor)
 

Private Attributes

TAO_IIOP_SSL_BASE_ACCEPTOR base_acceptor_
 The concrete acceptor, as a pointer to it's base class. More...
 
Acceptor Strategies

Server side creation, concurrency and accept strategies.

TAO_IIOP_SSL_CREATION_STRATEGYcreation_strategy_
 
TAO_IIOP_SSL_CONCURRENCY_STRATEGYconcurrency_strategy_
 
TAO_IIOP_SSL_ACCEPT_STRATEGYaccept_strategy_
 

Additional Inherited Members

- Protected Member Functions inherited from TAO_IIOP_Acceptor
int parse_address (const char *address, ACE_INET_Addr &addr, ACE_CString &specified_hostname, int *def_type=0)
 
int dotted_decimal_address (const ACE_INET_Addr &addr, char *&host)
 
virtual int open_i (const ACE_INET_Addr &addr, ACE_Reactor *reactor)
 
int probe_interfaces (TAO_ORB_Core *orb_core, int def_type=AF_UNSPEC)
 
int parse_options (const char *options)
 
virtual int parse_options_i (int &argc, ACE_CString **argv)
 
int create_new_profile (const TAO::ObjectKey &object_key, TAO_MProfile &mprofile, CORBA::Short priority)
 
int create_shared_profile (const TAO::ObjectKey &object_key, TAO_MProfile &mprofile, CORBA::Short priority)
 
- Protected Attributes inherited from TAO_IIOP_Acceptor
ACE_INET_Addraddrs_
 
unsigned short port_span_
 
char ** hosts_
 
char * hostname_in_ior_
 
CORBA::ULong endpoint_count_
 
TAO_GIOP_Message_Version version_
 
TAO_ORB_Coreorb_core_
 
int reuse_addr_
 
ACE_INET_Addr default_address_
 

Detailed Description

An SSL aware IIOP acceptor.

The class differs from the non-SSL aware TAO_IIOP_Acceptor class since it uses a different a set of Acceptor strategies. In particular, it overrides the open_i() method to use the Acceptor strategies tailored to use the SSL aware server connection handler. See the TAO_IIOP_SSL_Connection_Handler notes for details.

Member Typedef Documentation

typedef TAO_Accept_Strategy<IIOP_SSL_Connection_Handler, ACE_SOCK_ACCEPTOR> TAO::IIOP_SSL_Acceptor::TAO_IIOP_SSL_ACCEPT_STRATEGY
typedef ACE_Strategy_Acceptor<IIOP_SSL_Connection_Handler, ACE_SOCK_ACCEPTOR> TAO::IIOP_SSL_Acceptor::TAO_IIOP_SSL_BASE_ACCEPTOR
typedef TAO_Concurrency_Strategy<IIOP_SSL_Connection_Handler> TAO::IIOP_SSL_Acceptor::TAO_IIOP_SSL_CONCURRENCY_STRATEGY
typedef TAO_Creation_Strategy<IIOP_SSL_Connection_Handler> TAO::IIOP_SSL_Acceptor::TAO_IIOP_SSL_CREATION_STRATEGY

Constructor & Destructor Documentation

TAO::IIOP_SSL_Acceptor::IIOP_SSL_Acceptor ( void  )

Constructor.

TAO::IIOP_SSL_Acceptor::~IIOP_SSL_Acceptor ( void  )

Destructor.

Member Function Documentation

int TAO::IIOP_SSL_Acceptor::close ( void  )
virtual

Reimplemented from TAO_IIOP_Acceptor.

Reimplemented in TAO::SSLIOP::Acceptor.

Member Data Documentation

TAO_IIOP_SSL_ACCEPT_STRATEGY* TAO::IIOP_SSL_Acceptor::accept_strategy_
private
TAO_IIOP_SSL_BASE_ACCEPTOR TAO::IIOP_SSL_Acceptor::base_acceptor_
private

The concrete acceptor, as a pointer to it's base class.

TAO_IIOP_SSL_CONCURRENCY_STRATEGY* TAO::IIOP_SSL_Acceptor::concurrency_strategy_
private
TAO_IIOP_SSL_CREATION_STRATEGY* TAO::IIOP_SSL_Acceptor::creation_strategy_
private

The documentation for this class was generated from the following files: