TAO 3.1.4
|
TAO's default resource factory. More...
#include <default_resource.h>
Public Member Functions | |
TAO_Default_Resource_Factory () | |
Constructor. | |
virtual | ~TAO_Default_Resource_Factory () |
Destructor. | |
Service Configurator Hooks | |
virtual int | init (int argc, ACE_TCHAR *argv[]) |
Dynamic linking hook. | |
int | parse_args (int argc, ACE_TCHAR *argv[]) |
Parse svc.conf arguments. | |
![]() | |
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 |
Member Accessors | |
enum | { TAO_ALLOCATOR_THREAD_LOCK } |
The type of data blocks that the ORB should use. More... | |
enum | Output_CDR_Allocator_Type { LOCAL_MEMORY_POOL , DEFAULT } |
The type of data blocks that the ORB should use. More... | |
enum | Lock_Type { TAO_NULL_LOCK , TAO_THREAD_LOCK } |
The type of data blocks that the ORB should use. More... | |
enum | Flushing_Strategy_Type { TAO_LEADER_FOLLOWER_FLUSHING , TAO_REACTIVE_FLUSHING , TAO_BLOCKING_FLUSHING } |
The type of data blocks that the ORB should use. More... | |
class | TAO_RSF_Timer_Queue_Ptr |
The type of data blocks that the ORB should use. | |
int | use_locked_data_blocks_ |
The type of data blocks that the ORB should use. | |
int | parser_names_count_ |
The number of the different types of Parsers. | |
char ** | parser_names_ |
Array consisting of the names of the parsers. | |
int | index_ |
Index of the current element in the parser_names_ array. | |
TAO_ProtocolFactorySet | protocol_factories_ |
list of loaded protocol factories. | |
TAO_Resource_Factory::Purging_Strategy | connection_purging_type_ |
int | cache_maximum_ |
int | purge_percentage_ |
int | max_muxed_connections_ |
int | reactor_mask_signals_ |
If 0 then we create reactors with signal handling disabled. | |
bool | dynamically_allocated_reactor_ |
int | options_processed_ |
int | factory_disabled_ |
Output_CDR_Allocator_Type | output_cdr_allocator_type_ |
Type of allocator to use for output CDR buffers. | |
bool | use_local_memory_pool_ |
Lock_Type | cached_connection_lock_type_ |
Type of lock used by the cached connector. | |
Flushing_Strategy_Type | flushing_strategy_type_ |
Type of flushing strategy configured. | |
TAO_Codeset_Parameters | char_codeset_parameters_ |
TAO_Codeset_Parameters | wchar_codeset_parameters_ |
The type of data blocks that the ORB should use. | |
Resource_Usage | resource_usage_strategy_ |
Resource usage strategy. | |
bool | drop_replies_ |
int | get_parser_names (char **&names, int &number_of_names) |
The type of data blocks that the ORB should use. | |
int | cdr_allocator_source () |
Modify and get the source for the CDR allocators. | |
virtual int | use_locked_data_blocks () const |
The type of data blocks that the ORB should use. | |
virtual ACE_Reactor * | get_reactor () |
The type of data blocks that the ORB should use. | |
virtual void | reclaim_reactor (ACE_Reactor *) |
The type of data blocks that the ORB should use. | |
virtual TAO_Acceptor_Registry * | get_acceptor_registry () |
The type of data blocks that the ORB should use. | |
virtual TAO_Connector_Registry * | get_connector_registry () |
The type of data blocks that the ORB should use. | |
virtual void | use_local_memory_pool (bool) |
The type of data blocks that the ORB should use. | |
virtual ACE_Allocator * | input_cdr_dblock_allocator () |
The type of data blocks that the ORB should use. | |
virtual ACE_Allocator * | input_cdr_buffer_allocator () |
The type of data blocks that the ORB should use. | |
virtual ACE_Allocator * | input_cdr_msgblock_allocator () |
The type of data blocks that the ORB should use. | |
virtual int | input_cdr_allocator_type_locked () |
The type of data blocks that the ORB should use. | |
virtual ACE_Allocator * | output_cdr_dblock_allocator () |
The type of data blocks that the ORB should use. | |
virtual ACE_Allocator * | output_cdr_buffer_allocator () |
The type of data blocks that the ORB should use. | |
virtual ACE_Allocator * | output_cdr_msgblock_allocator () |
The type of data blocks that the ORB should use. | |
virtual ACE_Allocator * | amh_response_handler_allocator () |
The type of data blocks that the ORB should use. | |
virtual ACE_Allocator * | ami_response_handler_allocator () |
The type of data blocks that the ORB should use. | |
virtual TAO_ProtocolFactorySet * | get_protocol_factories () |
The type of data blocks that the ORB should use. | |
virtual int | init_protocol_factories () |
The type of data blocks that the ORB should use. | |
virtual TAO_Codeset_Manager * | codeset_manager () |
The type of data blocks that the ORB should use. | |
virtual int | cache_maximum () const |
The type of data blocks that the ORB should use. | |
virtual int | purge_percentage () const |
The type of data blocks that the ORB should use. | |
virtual int | max_muxed_connections () const |
The type of data blocks that the ORB should use. | |
virtual ACE_Lock * | create_cached_connection_lock () |
The type of data blocks that the ORB should use. | |
virtual int | locked_transport_cache () |
The type of data blocks that the ORB should use. | |
virtual TAO_Flushing_Strategy * | create_flushing_strategy () |
The type of data blocks that the ORB should use. | |
virtual TAO_Connection_Purging_Strategy * | create_purging_strategy () |
The type of data blocks that the ORB should use. | |
TAO_Resource_Factory::Resource_Usage | resource_usage_strategy () const |
The type of data blocks that the ORB should use. | |
virtual TAO_LF_Strategy * | create_lf_strategy () |
The type of data blocks that the ORB should use. | |
virtual TAO_GIOP_Fragmentation_Strategy * | create_fragmentation_strategy (TAO_Transport *transport, CORBA::ULong max_message_size) const |
The type of data blocks that the ORB should use. | |
virtual void | disable_factory () |
The type of data blocks that the ORB should use. | |
virtual bool | drop_replies_during_shutdown () const |
The type of data blocks that the ORB should use. | |
ACE_Timer_Queue * | create_timer_queue () const |
The type of data blocks that the ORB should use. | |
void | destroy_timer_queue (ACE_Timer_Queue *tmq) const |
The type of data blocks that the ORB should use. | |
virtual ACE_Reactor_Impl * | allocate_reactor_impl () const |
Obtain the reactor implementation. | |
int | add_to_ior_parser_names (const char *) |
Add a Parser name to the list of Parser names. | |
void | report_option_value_error (const ACE_TCHAR *option_name, const ACE_TCHAR *option_value) |
The type of data blocks that the ORB should use. | |
virtual int | load_default_protocols () |
The type of data blocks that the ORB should use. | |
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 |
The type of data blocks that the ORB should use.
Enumerator | |
---|---|
TAO_ALLOCATOR_THREAD_LOCK |
|
private |
The type of data blocks that the ORB should use.
Enumerator | |
---|---|
TAO_LEADER_FOLLOWER_FLUSHING | |
TAO_REACTIVE_FLUSHING | |
TAO_BLOCKING_FLUSHING |
|
private |
The type of data blocks that the ORB should use.
Enumerator | |
---|---|
TAO_NULL_LOCK | |
TAO_THREAD_LOCK |
|
protected |
The type of data blocks that the ORB should use.
Enumerator | |
---|---|
LOCAL_MEMORY_POOL | |
DEFAULT |
TAO_Default_Resource_Factory::TAO_Default_Resource_Factory | ( | ) |
Constructor.
|
virtual |
Destructor.
|
protected |
Add a Parser name to the list of Parser names.
|
protectedvirtual |
Obtain the reactor implementation.
|
virtual |
The type of data blocks that the ORB should use.
Reimplemented from TAO_Resource_Factory.
|
virtual |
The type of data blocks that the ORB should use.
Reimplemented from TAO_Resource_Factory.
|
virtual |
The type of data blocks that the ORB should use.
Reimplemented from TAO_Resource_Factory.
int TAO_Default_Resource_Factory::cdr_allocator_source | ( | ) |
Modify and get the source for the CDR allocators.
|
virtual |
The type of data blocks that the ORB should use.
Reimplemented from TAO_Resource_Factory.
|
virtual |
The type of data blocks that the ORB should use.
Reimplemented from TAO_Resource_Factory.
|
virtual |
The type of data blocks that the ORB should use.
Implements TAO_Resource_Factory.
|
virtual |
The type of data blocks that the ORB should use.
Implements TAO_Resource_Factory.
|
virtual |
The type of data blocks that the ORB should use.
Implements TAO_Resource_Factory.
|
virtual |
The type of data blocks that the ORB should use.
Implements TAO_Resource_Factory.
|
protected |
The type of data blocks that the ORB should use.
|
protected |
The type of data blocks that the ORB should use.
|
virtual |
The type of data blocks that the ORB should use.
Implements TAO_Resource_Factory.
|
virtual |
The type of data blocks that the ORB should use.
Implements TAO_Resource_Factory.
|
virtual |
The type of data blocks that the ORB should use.
Reimplemented from TAO_Resource_Factory.
|
virtual |
The type of data blocks that the ORB should use.
Reimplemented from TAO_Resource_Factory.
|
virtual |
The type of data blocks that the ORB should use.
Reimplemented from TAO_Resource_Factory.
|
virtual |
The type of data blocks that the ORB should use.
Reimplemented from TAO_Resource_Factory.
|
virtual |
The type of data blocks that the ORB should use.
Reimplemented from TAO_Resource_Factory.
|
virtual |
|
virtual |
The type of data blocks that the ORB should use.
Reimplemented from TAO_Resource_Factory.
|
virtual |
The type of data blocks that the ORB should use.
Reimplemented from TAO_Resource_Factory.
|
virtual |
The type of data blocks that the ORB should use.
Reimplemented from TAO_Resource_Factory.
|
virtual |
The type of data blocks that the ORB should use.
Reimplemented from TAO_Resource_Factory.
|
virtual |
The type of data blocks that the ORB should use.
Reimplemented from TAO_Resource_Factory.
|
protectedvirtual |
The type of data blocks that the ORB should use.
Reimplemented from TAO_Resource_Factory.
|
virtual |
The type of data blocks that the ORB should use.
Reimplemented from TAO_Resource_Factory.
|
virtual |
The type of data blocks that the ORB should use.
Reimplemented from TAO_Resource_Factory.
|
virtual |
The type of data blocks that the ORB should use.
Reimplemented from TAO_Resource_Factory.
|
virtual |
The type of data blocks that the ORB should use.
Reimplemented from TAO_Resource_Factory.
|
virtual |
The type of data blocks that the ORB should use.
Reimplemented from TAO_Resource_Factory.
int TAO_Default_Resource_Factory::parse_args | ( | int | argc, |
ACE_TCHAR * | argv[] ) |
Parse svc.conf arguments.
|
virtual |
The type of data blocks that the ORB should use.
Reimplemented from TAO_Resource_Factory.
|
virtual |
The type of data blocks that the ORB should use.
Reimplemented from TAO_Resource_Factory.
|
protected |
The type of data blocks that the ORB should use.
|
virtual |
The type of data blocks that the ORB should use.
Implements TAO_Resource_Factory.
|
virtual |
The type of data blocks that the ORB should use.
Reimplemented from TAO_Resource_Factory.
|
virtual |
The type of data blocks that the ORB should use.
Reimplemented from TAO_Resource_Factory.
|
friend |
The type of data blocks that the ORB should use.
|
protected |
Specifies the maximum number of connections which should get cached in the ORB.
|
private |
Type of lock used by the cached connector.
|
private |
Initialization options. To be used later when creating a codeset manager instance (s)
|
protected |
Specifies the typeof purging strategy we should use for cleaning up unused connections
|
private |
Flag to indicate whether replies should be dropped during ORB shutdown.
|
protected |
Flag that is set to true if the reactor obtained from the get_reactor() method is dynamically allocated. If this flag is set to true, then the reclaim_reactor() method with call the delete operator on the given reactor. This flag is necessary to make sure that a reactor not allocated by the default resource factory is not reclaimed by the default resource factory. Such a situation can occur when a resource factory derived from the default one overrides the get_reactor() method but does not override the reclaim_reactor() method.
|
protected |
This flag specifies whether the factory has been disabled. If it has been disabled we should print warnings if options were processed before (or later).
|
private |
Type of flushing strategy configured.
|
protected |
Index of the current element in the parser_names_ array.
|
protected |
Specifies the limit on the number of muxed connections allowed per-property for the ORB. A value of 0 indicates no limit
|
protected |
This flag is used to determine whether options have been processed via the init() function. It is necessary to properly report errors when the default factory is replaced.
|
protected |
Type of allocator to use for output CDR buffers.
|
protected |
Array consisting of the names of the parsers.
|
protected |
The number of the different types of Parsers.
|
protected |
list of loaded protocol factories.
|
protected |
Specifies the percentage of entries which should get purged on demand.
|
protected |
If 0 then we create reactors with signal handling disabled.
|
private |
Resource usage strategy.
|
protected |
This flag is used to determine whether the CDR allocators should use the local memory pool or not.
|
protected |
The type of data blocks that the ORB should use.
|
private |
The type of data blocks that the ORB should use.