TAO 3.1.4
Loading...
Searching...
No Matches
Public Member Functions | List of all members
TAO_Thread_Lane_Resources Class Reference

Class representing a thread lane's resources. More...

#include <Thread_Lane_Resources.h>

Collaboration diagram for TAO_Thread_Lane_Resources:
Collaboration graph
[legend]

Public Member Functions

 TAO_Thread_Lane_Resources (TAO_ORB_Core &orb_core, TAO_New_Leader_Generator *new_leader_generator=0)
 Constructor.
 
 ~TAO_Thread_Lane_Resources ()
 Destructor.
 
int is_collocated (const TAO_MProfile &mprofile)
 Does mprofile belong to us?
 
int open_acceptor_registry (const TAO_EndpointSet &endpoint_set, bool ignore_address)
 Open the acceptor registry.
 
void finalize ()
 Finalize resources.
 
void shutdown_reactor ()
 Shutdown the reactor.
 
void close_all_transports ()
 

Accessors

TAO_ORB_Coreorb_core_
 ORB_Core related to this thread lane.
 
TAO_Acceptor_Registryacceptor_registry_
 
TAO_Connector_Registryconnector_registry_
 
TAO::Transport_Cache_Manager * transport_cache_
 Transport cache.
 
TAO_Leader_Followerleader_follower_
 The leader/followers management class for this lane.
 
TAO_SYNCH_MUTEX lock_
 Synchronization.
 
TAO_New_Leader_Generatornew_leader_generator_
 Generator of new leader threads.
 
TAO_Acceptor_Registryacceptor_registry ()
 ORB_Core related to this thread lane.
 
TAO_Connector_Registryconnector_registry ()
 
TAO::Transport_Cache_Manager & transport_cache ()
 Get the transport cache.
 
TAO_Leader_Followerleader_follower ()
 ORB_Core related to this thread lane.
 
ACE_Allocatorinput_cdr_dblock_allocator ()
 
ACE_Allocatorinput_cdr_buffer_allocator ()
 
ACE_Allocatorinput_cdr_msgblock_allocator ()
 
ACE_Allocatortransport_message_buffer_allocator ()
 
ACE_Allocatoroutput_cdr_dblock_allocator ()
 
ACE_Allocatoroutput_cdr_buffer_allocator ()
 
ACE_Allocatoroutput_cdr_msgblock_allocator ()
 
ACE_Allocatoramh_response_handler_allocator ()
 
ACE_Allocatorami_response_handler_allocator ()
 
int has_acceptor_registry_been_created () const
 Checks if the acceptor registry has been created.
 
TAO_Resource_Factoryresource_factory ()
 Helper to get the resource factory in the ORB_Core.
 

The allocators for the input CDR streams.

ACE_Allocatorinput_cdr_dblock_allocator_
 
ACE_Allocatorinput_cdr_buffer_allocator_
 
ACE_Allocatorinput_cdr_msgblock_allocator_
 

The allocators for the buffering messages in the transport.

ACE_Allocatortransport_message_buffer_allocator_
 

The allocators for the output CDR streams.

ACE_Allocatoroutput_cdr_dblock_allocator_
 
ACE_Allocatoroutput_cdr_buffer_allocator_
 
ACE_Allocatoroutput_cdr_msgblock_allocator_
 

The allocators for AMH.

ACE_Allocatoramh_response_handler_allocator_
 

The allocators for AMI.

ACE_Allocatorami_response_handler_allocator_
 

Detailed Description

Class representing a thread lane's resources.

Constructor & Destructor Documentation

◆ TAO_Thread_Lane_Resources()

TAO_Thread_Lane_Resources::TAO_Thread_Lane_Resources ( TAO_ORB_Core & orb_core,
TAO_New_Leader_Generator * new_leader_generator = 0 )

Constructor.

◆ ~TAO_Thread_Lane_Resources()

TAO_Thread_Lane_Resources::~TAO_Thread_Lane_Resources ( )

Destructor.

Member Function Documentation

◆ acceptor_registry()

TAO_Acceptor_Registry & TAO_Thread_Lane_Resources::acceptor_registry ( )

ORB_Core related to this thread lane.

◆ amh_response_handler_allocator()

ACE_Allocator * TAO_Thread_Lane_Resources::amh_response_handler_allocator ( )

Allocator is intended for allocating the AMH response handlers This allocator is global.

◆ ami_response_handler_allocator()

ACE_Allocator * TAO_Thread_Lane_Resources::ami_response_handler_allocator ( )

Allocator is intended for allocating the AMI response handlers This allocator is global.

◆ close_all_transports()

void TAO_Thread_Lane_Resources::close_all_transports ( )

Certain ORB policies such as dropping replies on shutdown would need cleanup of transports to wake threads up.

◆ connector_registry()

TAO_Connector_Registry * TAO_Thread_Lane_Resources::connector_registry ( )
Note
Returning a pointer helps to return 0 in case of exceptions.

◆ finalize()

void TAO_Thread_Lane_Resources::finalize ( )

Finalize resources.

◆ has_acceptor_registry_been_created()

int TAO_Thread_Lane_Resources::has_acceptor_registry_been_created ( ) const
private

Checks if the acceptor registry has been created.

◆ input_cdr_buffer_allocator()

ACE_Allocator * TAO_Thread_Lane_Resources::input_cdr_buffer_allocator ( )

Allocator is intended for allocating the buffers in the incoming CDR streams. This allocator has locks.

◆ input_cdr_dblock_allocator()

ACE_Allocator * TAO_Thread_Lane_Resources::input_cdr_dblock_allocator ( )

Allocator is intended for allocating the ACE_Data_Blocks used in incoming CDR streams. This allocator has locks.

◆ input_cdr_msgblock_allocator()

ACE_Allocator * TAO_Thread_Lane_Resources::input_cdr_msgblock_allocator ( )

Allocator is intended for allocating the ACE_Message_Blocks used in incoming CDR streams. This allocator is global, and has locks.

◆ is_collocated()

int TAO_Thread_Lane_Resources::is_collocated ( const TAO_MProfile & mprofile)

Does mprofile belong to us?

◆ leader_follower()

TAO_Leader_Follower & TAO_Thread_Lane_Resources::leader_follower ( )

ORB_Core related to this thread lane.

◆ open_acceptor_registry()

int TAO_Thread_Lane_Resources::open_acceptor_registry ( const TAO_EndpointSet & endpoint_set,
bool ignore_address )

Open the acceptor registry.

◆ output_cdr_buffer_allocator()

ACE_Allocator * TAO_Thread_Lane_Resources::output_cdr_buffer_allocator ( )

Allocator is intended for allocating the buffers in the outgoing CDR streams. This allocator has locks.

◆ output_cdr_dblock_allocator()

ACE_Allocator * TAO_Thread_Lane_Resources::output_cdr_dblock_allocator ( )

Allocator is intended for allocating the ACE_Data_Blocks used in outgoing CDR streams. This allocator has locks.

◆ output_cdr_msgblock_allocator()

ACE_Allocator * TAO_Thread_Lane_Resources::output_cdr_msgblock_allocator ( )

Allocator is intended for allocating the ACE_Message_Blocks used in the outgoing CDR streams. This allocator is global, and has locks.

◆ resource_factory()

TAO_Resource_Factory * TAO_Thread_Lane_Resources::resource_factory ( )
private

Helper to get the resource factory in the ORB_Core.

◆ shutdown_reactor()

void TAO_Thread_Lane_Resources::shutdown_reactor ( )

Shutdown the reactor.

◆ transport_cache()

TAO::Transport_Cache_Manager & TAO_Thread_Lane_Resources::transport_cache ( )

Get the transport cache.

◆ transport_message_buffer_allocator()

ACE_Allocator * TAO_Thread_Lane_Resources::transport_message_buffer_allocator ( )

Allocator is intended for allocating the buffers used in the Transport object. This allocator has locks.

Member Data Documentation

◆ acceptor_registry_

TAO_Acceptor_Registry* TAO_Thread_Lane_Resources::acceptor_registry_
private

The registry which maintains a list of acceptor factories for each loaded protocol.

◆ amh_response_handler_allocator_

ACE_Allocator* TAO_Thread_Lane_Resources::amh_response_handler_allocator_
private

◆ ami_response_handler_allocator_

ACE_Allocator* TAO_Thread_Lane_Resources::ami_response_handler_allocator_
private

◆ connector_registry_

TAO_Connector_Registry* TAO_Thread_Lane_Resources::connector_registry_
private

The connector registry which all active connectors must register themselves with.

◆ input_cdr_buffer_allocator_

ACE_Allocator* TAO_Thread_Lane_Resources::input_cdr_buffer_allocator_
private

◆ input_cdr_dblock_allocator_

ACE_Allocator* TAO_Thread_Lane_Resources::input_cdr_dblock_allocator_
private

◆ input_cdr_msgblock_allocator_

ACE_Allocator* TAO_Thread_Lane_Resources::input_cdr_msgblock_allocator_
private

◆ leader_follower_

TAO_Leader_Follower* TAO_Thread_Lane_Resources::leader_follower_
private

The leader/followers management class for this lane.

◆ lock_

TAO_SYNCH_MUTEX TAO_Thread_Lane_Resources::lock_
private

Synchronization.

◆ new_leader_generator_

TAO_New_Leader_Generator* TAO_Thread_Lane_Resources::new_leader_generator_
private

Generator of new leader threads.

◆ orb_core_

TAO_ORB_Core& TAO_Thread_Lane_Resources::orb_core_
private

ORB_Core related to this thread lane.

◆ output_cdr_buffer_allocator_

ACE_Allocator* TAO_Thread_Lane_Resources::output_cdr_buffer_allocator_
private

◆ output_cdr_dblock_allocator_

ACE_Allocator* TAO_Thread_Lane_Resources::output_cdr_dblock_allocator_
private

◆ output_cdr_msgblock_allocator_

ACE_Allocator* TAO_Thread_Lane_Resources::output_cdr_msgblock_allocator_
private

◆ transport_cache_

TAO::Transport_Cache_Manager* TAO_Thread_Lane_Resources::transport_cache_
private

Transport cache.

◆ transport_message_buffer_allocator_

ACE_Allocator* TAO_Thread_Lane_Resources::transport_message_buffer_allocator_
private

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