TAO_Strategies 4.0.4
|
TAO's default resource factory. More...
#include <advanced_resource.h>
Public Types | |
enum | Allocator_Lock_Type { TAO_ALLOCATOR_NULL_LOCK , TAO_ALLOCATOR_THREAD_LOCK } |
Type of lock used for the allocators. More... | |
enum | { TAO_REACTOR_SELECT_MT = 1 , TAO_REACTOR_SELECT_ST = 2 , TAO_REACTOR_WFMO = 3 , TAO_REACTOR_MSGWFMO = 4 , TAO_REACTOR_TP = 5 , TAO_REACTOR_DEV_POLL = 6 , TAO_REACTOR_SINGLE_INPUT } |
Type of Reactor. More... | |
enum | { TAO_THREAD_QUEUE_NOT_SET , TAO_THREAD_QUEUE_FIFO , TAO_THREAD_QUEUE_LIFO } |
Thread queueing Strategy. More... | |
![]() | |
enum | Purging_Strategy |
enum | Resource_Usage |
![]() | |
typedef long | Reference_Count |
Public Member Functions | |
TAO_Advanced_Resource_Factory () | |
Constructor. | |
virtual | ~TAO_Advanced_Resource_Factory () |
Destructor. | |
virtual int | init (int argc, ACE_TCHAR *argv[]) |
Dynamic linking hook. | |
![]() | |
TAO_Default_Resource_Factory () | |
virtual | ~TAO_Default_Resource_Factory () |
int | parse_args (int argc, ACE_TCHAR *argv[]) |
int | get_parser_names (char **&names, int &number_of_names) |
int | cdr_allocator_source () |
virtual int | use_locked_data_blocks () const |
virtual ACE_Reactor * | get_reactor () |
virtual void | reclaim_reactor (ACE_Reactor *) |
virtual TAO_Acceptor_Registry * | get_acceptor_registry () |
virtual TAO_Connector_Registry * | get_connector_registry () |
virtual void | use_local_memory_pool (bool) |
virtual ACE_Allocator * | output_cdr_dblock_allocator () |
virtual ACE_Allocator * | output_cdr_buffer_allocator () |
virtual ACE_Allocator * | output_cdr_msgblock_allocator () |
virtual TAO_Codeset_Manager * | codeset_manager () |
virtual int | cache_maximum () const |
virtual int | purge_percentage () const |
virtual int | max_muxed_connections () const |
virtual ACE_Lock * | create_cached_connection_lock () |
virtual int | locked_transport_cache () |
virtual TAO_Flushing_Strategy * | create_flushing_strategy () |
TAO_Resource_Factory::Resource_Usage | resource_usage_strategy () const |
virtual TAO_GIOP_Fragmentation_Strategy * | create_fragmentation_strategy (TAO_Transport *transport, CORBA::ULong max_message_size) const |
virtual void | disable_factory () |
virtual bool | drop_replies_during_shutdown () const |
int | parse_args (int argc, ACE_TCHAR *argv[]) |
![]() | |
TAO_Resource_Factory () | |
virtual | ~TAO_Resource_Factory () |
![]() | |
ACE_Service_Object (ACE_Reactor *=0) | |
virtual | ~ACE_Service_Object () |
virtual int | suspend () |
virtual int | resume () |
![]() | |
virtual | ~ACE_Event_Handler ()=default |
virtual ACE_HANDLE | get_handle () const |
virtual void | set_handle (ACE_HANDLE) |
virtual int | priority () const |
virtual void | priority (int priority) |
virtual int | handle_input (ACE_HANDLE fd=ACE_INVALID_HANDLE) |
virtual int | handle_output (ACE_HANDLE fd=ACE_INVALID_HANDLE) |
virtual int | handle_exception (ACE_HANDLE fd=ACE_INVALID_HANDLE) |
virtual int | handle_timeout (const ACE_Time_Value ¤t_time, const void *act=0) |
virtual int | handle_exit (ACE_Process *) |
virtual int | handle_close (ACE_HANDLE handle, ACE_Reactor_Mask close_mask) |
virtual int | handle_signal (int signum, siginfo_t *=0, ucontext_t *=0) |
virtual int | resume_handler () |
virtual int | handle_qos (ACE_HANDLE=ACE_INVALID_HANDLE) |
virtual int | handle_group_qos (ACE_HANDLE=ACE_INVALID_HANDLE) |
virtual void | reactor (ACE_Reactor *reactor) |
virtual ACE_Reactor * | reactor () const |
virtual ACE_Reactor_Timer_Interface * | reactor_timer_interface () const |
virtual Reference_Count | add_reference () |
virtual Reference_Count | remove_reference () |
Reference_Counting_Policy & | reference_counting_policy () |
![]() | |
ACE_Shared_Object () | |
virtual | ~ACE_Shared_Object () |
virtual int | fini () |
virtual int | info (ACE_TCHAR **info_string, size_t length=0) const |
Resource Retrieval | |
TAO_ProtocolFactorySet | protocol_factories_ |
List of loaded protocol factories. | |
int | reactor_type_ |
Flag indicating which kind of reactor we should use. | |
int | threadqueue_type_ |
Allocator_Lock_Type | cdr_allocator_type_ |
The type of CDR allocators. | |
Allocator_Lock_Type | amh_response_handler_allocator_lock_type_ |
Type of lock used by AMH response handler allocator. | |
Allocator_Lock_Type | ami_response_handler_allocator_lock_type_ |
Type of lock used by AMI response handler allocator. | |
virtual int | init_protocol_factories () |
List of loaded protocol factories. | |
virtual ACE_Allocator * | input_cdr_dblock_allocator () |
List of loaded protocol factories. | |
virtual ACE_Allocator * | input_cdr_buffer_allocator () |
List of loaded protocol factories. | |
virtual ACE_Allocator * | input_cdr_msgblock_allocator () |
List of loaded protocol factories. | |
virtual ACE_Allocator * | amh_response_handler_allocator () |
List of loaded protocol factories. | |
virtual ACE_Allocator * | ami_response_handler_allocator () |
List of loaded protocol factories. | |
virtual int | input_cdr_allocator_type_locked () |
List of loaded protocol factories. | |
virtual TAO_ProtocolFactorySet * | get_protocol_factories () |
List of loaded protocol factories. | |
virtual TAO_Connection_Purging_Strategy * | create_purging_strategy () |
List of loaded protocol factories. | |
virtual TAO_LF_Strategy * | create_lf_strategy () |
List of loaded protocol factories. | |
virtual ACE_Reactor_Impl * | allocate_reactor_impl () const |
Obtain the reactor implementation. | |
void | report_option_value_error (const ACE_TCHAR *option_name, const ACE_TCHAR *option_value) |
List of loaded protocol factories. | |
void | report_unsupported_error (const ACE_TCHAR *option_name) |
List of loaded protocol factories. | |
virtual int | load_default_protocols () |
List of loaded protocol factories. | |
TAO's default resource factory.
Using a <{resource source specifier}> as a discriminator, the factory can return resource instances which are, e.g., global, stored in thread-specific storage, stored in shared memory, etc.
anonymous enum |
Type of Reactor.
Enumerator | |
---|---|
TAO_REACTOR_SELECT_MT | Use ACE_Token. |
TAO_REACTOR_SELECT_ST | Use ACE_Noop_Token. |
TAO_REACTOR_WFMO | |
TAO_REACTOR_MSGWFMO | |
TAO_REACTOR_TP | |
TAO_REACTOR_DEV_POLL | |
TAO_REACTOR_SINGLE_INPUT |
anonymous enum |
TAO_Advanced_Resource_Factory::TAO_Advanced_Resource_Factory | ( | ) |
Constructor.
|
virtual |
Destructor.
|
protectedvirtual |
Obtain the reactor implementation.
Reimplemented from TAO_Default_Resource_Factory.
|
virtual |
List of loaded protocol factories.
Reimplemented from TAO_Default_Resource_Factory.
|
virtual |
List of loaded protocol factories.
Reimplemented from TAO_Default_Resource_Factory.
|
virtual |
List of loaded protocol factories.
Reimplemented from TAO_Default_Resource_Factory.
|
virtual |
List of loaded protocol factories.
Reimplemented from TAO_Default_Resource_Factory.
|
virtual |
List of loaded protocol factories.
Reimplemented from TAO_Default_Resource_Factory.
|
virtual |
Dynamic linking hook.
Reimplemented from TAO_Default_Resource_Factory.
|
virtual |
List of loaded protocol factories.
Reimplemented from TAO_Default_Resource_Factory.
|
virtual |
List of loaded protocol factories.
Reimplemented from TAO_Default_Resource_Factory.
|
virtual |
List of loaded protocol factories.
Reimplemented from TAO_Default_Resource_Factory.
|
virtual |
List of loaded protocol factories.
Reimplemented from TAO_Default_Resource_Factory.
|
virtual |
List of loaded protocol factories.
Reimplemented from TAO_Default_Resource_Factory.
|
protectedvirtual |
List of loaded protocol factories.
Reimplemented from TAO_Default_Resource_Factory.
|
protected |
List of loaded protocol factories.
|
protected |
List of loaded protocol factories.
|
protected |
Type of lock used by AMH response handler allocator.
|
protected |
Type of lock used by AMI response handler allocator.
|
protected |
The type of CDR allocators.
|
protected |
List of loaded protocol factories.
|
protected |
Flag indicating which kind of reactor we should use.
|
protected |
The type of queueing strategy to use for multi-threaded select reactors, TAO_REACTOR_SELECT_MT and TAO_REACTOR_TP.