TAO  2.1.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes
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]

List of all members.

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 (void)
 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 (void)
 Finalize resources.
void shutdown_reactor (void)
 Shutdown the reactor.
void close_all_transports (void)

Private Member Functions

int has_acceptor_registry_been_created (void) const
 Checks if the acceptor registry has been created.
TAO_Resource_Factoryresource_factory (void)
 Helper to get the resource factory in the ORB_Core.

Private Attributes

TAO_ORB_Coreorb_core_
 ORB_Core related to this thread lane.
TAO_Acceptor_Registryacceptor_registry_
TAO_Connector_Registryconnector_registry_
TAO::Transport_Cache_Managertransport_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.

Accessors

TAO_Acceptor_Registryacceptor_registry (void)
TAO_Connector_Registryconnector_registry (void)
TAO::Transport_Cache_Managertransport_cache (void)
 Get the transport cache.
TAO_Leader_Followerleader_follower (void)
ACE_Allocatorinput_cdr_dblock_allocator (void)
ACE_Allocatorinput_cdr_buffer_allocator (void)
ACE_Allocatorinput_cdr_msgblock_allocator (void)
ACE_Allocatortransport_message_buffer_allocator (void)
ACE_Allocatoroutput_cdr_dblock_allocator (void)
ACE_Allocatoroutput_cdr_buffer_allocator (void)
ACE_Allocatoroutput_cdr_msgblock_allocator (void)
ACE_Allocatoramh_response_handler_allocator (void)
ACE_Allocatorami_response_handler_allocator (void)

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

Constructor.

Destructor.


Member Function Documentation

Note:
Returning a pointer helps to return 0 in case of exceptions.

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

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

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

Note:
Returning a pointer helps to return 0 in case of exceptions.

Finalize resources.

Checks if the acceptor registry has been created.

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

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

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

Does mprofile belong to us?

Note:
Returning a pointer helps to return 0 in case of exceptions.
int TAO_Thread_Lane_Resources::open_acceptor_registry ( const TAO_EndpointSet endpoint_set,
bool  ignore_address 
)

Open the acceptor registry.

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

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

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

Helper to get the resource factory in the ORB_Core.

Shutdown the reactor.

Get the transport cache.

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


Member Data Documentation

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

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

The leader/followers management class for this lane.

Synchronization.

Generator of new leader threads.

ORB_Core related to this thread lane.

Transport cache.


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