TAO 4.0.2
|
Class representing a thread lane's resources. More...
#include <Thread_Lane_Resources.h>
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 () |
The allocators for the input CDR streams. | |
ACE_Allocator * | input_cdr_dblock_allocator_ |
ACE_Allocator * | input_cdr_buffer_allocator_ |
ACE_Allocator * | input_cdr_msgblock_allocator_ |
The allocators for the buffering messages in the transport. | |
ACE_Allocator * | transport_message_buffer_allocator_ |
The allocators for the output CDR streams. | |
ACE_Allocator * | output_cdr_dblock_allocator_ |
ACE_Allocator * | output_cdr_buffer_allocator_ |
ACE_Allocator * | output_cdr_msgblock_allocator_ |
The allocators for AMH. | |
ACE_Allocator * | amh_response_handler_allocator_ |
The allocators for AMI. | |
ACE_Allocator * | ami_response_handler_allocator_ |
Class representing a thread lane's 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 | ( | ) |
Destructor.
TAO_Acceptor_Registry & TAO_Thread_Lane_Resources::acceptor_registry | ( | ) |
ORB_Core related to this thread lane.
ACE_Allocator * TAO_Thread_Lane_Resources::amh_response_handler_allocator | ( | ) |
Allocator is intended for allocating the AMH response handlers This allocator is global.
ACE_Allocator * TAO_Thread_Lane_Resources::ami_response_handler_allocator | ( | ) |
Allocator is intended for allocating the AMI response handlers This allocator is global.
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.
TAO_Connector_Registry * TAO_Thread_Lane_Resources::connector_registry | ( | ) |
void TAO_Thread_Lane_Resources::finalize | ( | ) |
Finalize resources.
|
private |
Checks if the acceptor registry has been created.
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.
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.
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.
int TAO_Thread_Lane_Resources::is_collocated | ( | const TAO_MProfile & | mprofile | ) |
Does mprofile belong to us?
TAO_Leader_Follower & TAO_Thread_Lane_Resources::leader_follower | ( | ) |
ORB_Core related to this thread lane.
int TAO_Thread_Lane_Resources::open_acceptor_registry | ( | const TAO_EndpointSet & | endpoint_set, |
bool | ignore_address ) |
Open the acceptor registry.
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.
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.
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.
|
private |
Helper to get the resource factory in the ORB_Core.
void TAO_Thread_Lane_Resources::shutdown_reactor | ( | ) |
Shutdown the reactor.
TAO::Transport_Cache_Manager & TAO_Thread_Lane_Resources::transport_cache | ( | ) |
Get the transport cache.
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.
|
private |
The registry which maintains a list of acceptor factories for each loaded protocol.
|
private |
|
private |
|
private |
The connector registry which all active connectors must register themselves with.
|
private |
|
private |
|
private |
|
private |
The leader/followers management class for this lane.
|
private |
Synchronization.
|
private |
Generator of new leader threads.
|
private |
ORB_Core related to this thread lane.
|
private |
|
private |
|
private |
|
private |
Transport cache.
|
private |