TAO_Strategies 4.0.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
TAO_SHMIOP_Acceptor Class Reference

The SHMIOP-specific bridge class for the concrete acceptor. More...

#include <SHMIOP_Acceptor.h>

Inheritance diagram for TAO_SHMIOP_Acceptor:
Inheritance graph
[legend]
Collaboration diagram for TAO_SHMIOP_Acceptor:
Collaboration graph
[legend]

Public Types

typedef TAO_Strategy_Acceptor< TAO_SHMIOP_Connection_Handler, ACE_MEM_ACCEPTORTAO_SHMIOP_BASE_ACCEPTOR
 
typedef TAO_Creation_Strategy< TAO_SHMIOP_Connection_HandlerTAO_SHMIOP_CREATION_STRATEGY
 
typedef TAO_Concurrency_Strategy< TAO_SHMIOP_Connection_HandlerTAO_SHMIOP_CONCURRENCY_STRATEGY
 
typedef TAO_Accept_Strategy< TAO_SHMIOP_Connection_Handler, ACE_MEM_ACCEPTORTAO_SHMIOP_ACCEPT_STRATEGY
 

Public Member Functions

 TAO_SHMIOP_Acceptor ()
 Constructor.
 
 ~TAO_SHMIOP_Acceptor ()
 Destructor.
 
- Public Member Functions inherited from TAO_Acceptor
 TAO_Acceptor (CORBA::ULong tag)
 
virtual ~TAO_Acceptor ()
 
CORBA::ULong tag () 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)
 

The TAO_Acceptor Methods

Please check the documentation in Transport_Acceptor.h for details.

ACE_CString host_
 
ACE_MEM_Addr address_
 A local endpoint.
 
TAO_GIOP_Message_Version version_
 The GIOP version for this endpoint.
 
TAO_ORB_Coreorb_core_
 ORB Core.
 
TAO_SHMIOP_BASE_ACCEPTOR base_acceptor_
 The concrete acceptor, as a pointer to it's base class.
 
TAO_SHMIOP_CREATION_STRATEGYcreation_strategy_
 Acceptor strategies.
 
TAO_SHMIOP_CONCURRENCY_STRATEGYconcurrency_strategy_
 
TAO_SHMIOP_ACCEPT_STRATEGYaccept_strategy_
 
const ACE_TCHARmmap_file_prefix_
 Determine the prefix (include path name) of the mmap file.
 
ACE_OFF_T mmap_size_
 
virtual int open (TAO_ORB_Core *orb_core, ACE_Reactor *reactor, int version_major, int version_minor, const char *port, 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 close ()
 
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 ()
 
virtual int object_key (IOP::TaggedProfile &profile, TAO::ObjectKey &key)
 
int set_mmap_options (const ACE_TCHAR *prefix, ACE_OFF_T size)
 
int open_i (TAO_ORB_Core *orb_core, ACE_Reactor *reactor)
 Implement the common part of the open*() methods.
 
virtual int parse_options (const char *options)
 Parse protocol specific options.
 
int create_new_profile (const TAO::ObjectKey &object_key, TAO_MProfile &mprofile, CORBA::Short priority)
 Create a SHMIOP profile representing this acceptor.
 
int create_shared_profile (const TAO::ObjectKey &object_key, TAO_MProfile &mprofile, CORBA::Short priority)
 Add the endpoints on this acceptor to a shared profile.
 

Detailed Description

The SHMIOP-specific bridge class for the concrete acceptor.

Member Typedef Documentation

◆ TAO_SHMIOP_ACCEPT_STRATEGY

◆ TAO_SHMIOP_BASE_ACCEPTOR

◆ TAO_SHMIOP_CONCURRENCY_STRATEGY

◆ TAO_SHMIOP_CREATION_STRATEGY

Constructor & Destructor Documentation

◆ TAO_SHMIOP_Acceptor()

TAO_SHMIOP_Acceptor::TAO_SHMIOP_Acceptor ( )

Constructor.

◆ ~TAO_SHMIOP_Acceptor()

TAO_SHMIOP_Acceptor::~TAO_SHMIOP_Acceptor ( )

Destructor.

Member Function Documentation

◆ close()

int TAO_SHMIOP_Acceptor::close ( )
virtual

Cache the information about the endpoint serviced by this acceptor.

Todo
There may in fact be multiple hostnames for this endpoint. For example it the IP address is INADDR_ANY (0.0.0.0) then there will be possibly a different hostname for each interface.

Implements TAO_Acceptor.

◆ create_new_profile()

int TAO_SHMIOP_Acceptor::create_new_profile ( const TAO::ObjectKey & object_key,
TAO_MProfile & mprofile,
CORBA::Short priority )
private

Create a SHMIOP profile representing this acceptor.

◆ create_profile()

int TAO_SHMIOP_Acceptor::create_profile ( const TAO::ObjectKey & object_key,
TAO_MProfile & mprofile,
CORBA::Short priority )
virtual

Cache the information about the endpoint serviced by this acceptor.

Todo
There may in fact be multiple hostnames for this endpoint. For example it the IP address is INADDR_ANY (0.0.0.0) then there will be possibly a different hostname for each interface.

Implements TAO_Acceptor.

◆ create_shared_profile()

int TAO_SHMIOP_Acceptor::create_shared_profile ( const TAO::ObjectKey & object_key,
TAO_MProfile & mprofile,
CORBA::Short priority )
private

Add the endpoints on this acceptor to a shared profile.

◆ endpoint_count()

CORBA::ULong TAO_SHMIOP_Acceptor::endpoint_count ( )
virtual

Cache the information about the endpoint serviced by this acceptor.

Todo
There may in fact be multiple hostnames for this endpoint. For example it the IP address is INADDR_ANY (0.0.0.0) then there will be possibly a different hostname for each interface.

Implements TAO_Acceptor.

◆ is_collocated()

int TAO_SHMIOP_Acceptor::is_collocated ( const TAO_Endpoint * endpoint)
virtual

Cache the information about the endpoint serviced by this acceptor.

Todo
There may in fact be multiple hostnames for this endpoint. For example it the IP address is INADDR_ANY (0.0.0.0) then there will be possibly a different hostname for each interface.

Implements TAO_Acceptor.

◆ object_key()

int TAO_SHMIOP_Acceptor::object_key ( IOP::TaggedProfile & profile,
TAO::ObjectKey & key )
virtual

Cache the information about the endpoint serviced by this acceptor.

Todo
There may in fact be multiple hostnames for this endpoint. For example it the IP address is INADDR_ANY (0.0.0.0) then there will be possibly a different hostname for each interface.

Implements TAO_Acceptor.

◆ open()

int TAO_SHMIOP_Acceptor::open ( TAO_ORB_Core * orb_core,
ACE_Reactor * reactor,
int version_major,
int version_minor,
const char * port,
const char * options = 0 )
virtual

Cache the information about the endpoint serviced by this acceptor.

Todo
There may in fact be multiple hostnames for this endpoint. For example it the IP address is INADDR_ANY (0.0.0.0) then there will be possibly a different hostname for each interface.

Implements TAO_Acceptor.

◆ open_default()

int TAO_SHMIOP_Acceptor::open_default ( TAO_ORB_Core * orb_core,
ACE_Reactor * reactor,
int version_major,
int version_minor,
const char * options = 0 )
virtual

Cache the information about the endpoint serviced by this acceptor.

Todo
There may in fact be multiple hostnames for this endpoint. For example it the IP address is INADDR_ANY (0.0.0.0) then there will be possibly a different hostname for each interface.

Implements TAO_Acceptor.

◆ open_i()

int TAO_SHMIOP_Acceptor::open_i ( TAO_ORB_Core * orb_core,
ACE_Reactor * reactor )
private

Implement the common part of the open*() methods.

◆ parse_options()

int TAO_SHMIOP_Acceptor::parse_options ( const char * options)
privatevirtual

Parse protocol specific options.

◆ set_mmap_options()

int TAO_SHMIOP_Acceptor::set_mmap_options ( const ACE_TCHAR * prefix,
ACE_OFF_T size )

Set the MMAP options the MEM_Stream this acceptor creates will use.

Member Data Documentation

◆ accept_strategy_

TAO_SHMIOP_ACCEPT_STRATEGY* TAO_SHMIOP_Acceptor::accept_strategy_
private

Cache the information about the endpoint serviced by this acceptor.

Todo
There may in fact be multiple hostnames for this endpoint. For example it the IP address is INADDR_ANY (0.0.0.0) then there will be possibly a different hostname for each interface.

◆ address_

ACE_MEM_Addr TAO_SHMIOP_Acceptor::address_
protected

A local endpoint.

◆ base_acceptor_

TAO_SHMIOP_BASE_ACCEPTOR TAO_SHMIOP_Acceptor::base_acceptor_
private

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

◆ concurrency_strategy_

TAO_SHMIOP_CONCURRENCY_STRATEGY* TAO_SHMIOP_Acceptor::concurrency_strategy_
private

Cache the information about the endpoint serviced by this acceptor.

Todo
There may in fact be multiple hostnames for this endpoint. For example it the IP address is INADDR_ANY (0.0.0.0) then there will be possibly a different hostname for each interface.

◆ creation_strategy_

TAO_SHMIOP_CREATION_STRATEGY* TAO_SHMIOP_Acceptor::creation_strategy_
private

Acceptor strategies.

◆ host_

ACE_CString TAO_SHMIOP_Acceptor::host_
protected

Cache the information about the endpoint serviced by this acceptor.

Todo
There may in fact be multiple hostnames for this endpoint. For example it the IP address is INADDR_ANY (0.0.0.0) then there will be possibly a different hostname for each interface.

◆ mmap_file_prefix_

const ACE_TCHAR* TAO_SHMIOP_Acceptor::mmap_file_prefix_
private

Determine the prefix (include path name) of the mmap file.

◆ mmap_size_

ACE_OFF_T TAO_SHMIOP_Acceptor::mmap_size_
private

Determine the minimum size of mmap file. This dictate the maximum size of a CORBA method invocation.

◆ orb_core_

TAO_ORB_Core* TAO_SHMIOP_Acceptor::orb_core_
protected

ORB Core.

◆ version_

TAO_GIOP_Message_Version TAO_SHMIOP_Acceptor::version_
protected

The GIOP version for this endpoint.


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