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
} |
| Type of Reactor. More...
|
enum | { TAO_THREAD_QUEUE_NOT_SET,
TAO_THREAD_QUEUE_FIFO,
TAO_THREAD_QUEUE_LIFO
} |
| Thread queueing Strategy. More...
|
Public Member Functions |
| TAO_Advanced_Resource_Factory (void) |
| Constructor.
|
virtual | ~TAO_Advanced_Resource_Factory (void) |
| Destructor.
|
virtual int | init (int argc, ACE_TCHAR *argv[]) |
| Dynamic linking hook.
|
virtual
TAO_Connection_Purging_Strategy * | create_purging_strategy (void) |
virtual TAO_LF_Strategy * | create_lf_strategy (void) |
|
virtual int | init_protocol_factories (void) |
virtual ACE_Allocator * | input_cdr_dblock_allocator (void) |
virtual ACE_Allocator * | input_cdr_buffer_allocator (void) |
virtual ACE_Allocator * | input_cdr_msgblock_allocator (void) |
virtual ACE_Allocator * | amh_response_handler_allocator (void) |
virtual ACE_Allocator * | ami_response_handler_allocator (void) |
virtual int | input_cdr_allocator_type_locked (void) |
virtual TAO_ProtocolFactorySet * | get_protocol_factories (void) |
Protected Member Functions |
virtual ACE_Reactor_Impl * | allocate_reactor_impl (void) const |
| Obtain the reactor implementation.
|
void | report_option_value_error (const ACE_TCHAR *option_name, const ACE_TCHAR *option_value) |
void | report_unsupported_error (const ACE_TCHAR *option_name) |
virtual int | load_default_protocols (void) |
Protected Attributes |
TAO_ProtocolFactorySet | protocol_factories_ |
| List of loaded protocol factories.
|
int | reactor_registry_type_ |
| The type of reactor registry.
|
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.
|
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.