TAO 3.1.4
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Private Types | Private Attributes | List of all members
TAO_Default_Client_Strategy_Factory Class Reference

This is the "default" client strategy factor for TAO. It includes strategies that are configured through command-line options so that everything operates as if there were no dynamically-linkable strategies. More...

#include <default_client.h>

Inheritance diagram for TAO_Default_Client_Strategy_Factory:
Inheritance graph
[legend]
Collaboration diagram for TAO_Default_Client_Strategy_Factory:
Collaboration graph
[legend]

Public Member Functions

 TAO_Default_Client_Strategy_Factory ()
 Constructor.
 
virtual ~TAO_Default_Client_Strategy_Factory ()
 Destructor.
 
virtual int init (int argc, ACE_TCHAR *argv[])
 Dynamic linking hook.
 
int parse_args (int argc, ACE_TCHAR *argv[])
 Parse svc.conf arguments.
 
virtual TAO_Transport_Mux_Strategycreate_transport_mux_strategy (TAO_Transport *transport)
 Create the correct client transport muxing strategy.
 
virtual ACE_Lockcreate_transport_mux_strategy_lock ()
 Create the correct lock for request muxing strategy.
 
virtual int reply_dispatcher_table_size () const
 Return the size of the reply dispatcher table.
 
virtual int allow_callback ()
 Does the client allow any form of callback?
 
virtual TAO_Wait_Strategycreate_wait_strategy (TAO_Transport *transport)
 Create the correct client wait_for_reply strategy.
 
virtual TAO_Connect_Strategycreate_connect_strategy (TAO_ORB_Core *)
 Create the correct client asynch_connect strategy.
 
virtual bool use_cleanup_options () const
 Cleanup options for wait strategy.
 
virtual Connect_Strategy connect_strategy () const
 Return the selected connection strategy option.
 
virtual const TAO::Invocation_Retry_Paramsinvocation_retry_params () const
 
virtual Messaging::SyncScope sync_scope () const
 Return the value to be used as the default sync scope for the ORB.
 
- Public Member Functions inherited from TAO_Client_Strategy_Factory
virtual ~TAO_Client_Strategy_Factory ()
 Destructor.
 
- Public Member Functions inherited from ACE_Service_Object
 ACE_Service_Object (ACE_Reactor *=0)
 
virtual ~ACE_Service_Object ()
 
virtual int suspend ()
 
virtual int resume ()
 
- Public Member Functions inherited from ACE_Event_Handler
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 &current_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_Reactorreactor () const
 
virtual ACE_Reactor_Timer_Interfacereactor_timer_interface () const
 
virtual Reference_Count add_reference ()
 
virtual Reference_Count remove_reference ()
 
Reference_Counting_Policyreference_counting_policy ()
 
- Public Member Functions inherited from ACE_Shared_Object
 ACE_Shared_Object ()
 
virtual ~ACE_Shared_Object ()
 
virtual int fini ()
 
virtual int info (ACE_TCHAR **info_string, size_t length=0) const
 

Protected Member Functions

void report_option_value_error (const ACE_TCHAR *option_name, const ACE_TCHAR *option_value)
 
- Protected Member Functions inherited from ACE_Event_Handler
 ACE_Event_Handler (ACE_Reactor *=nullptr, int priority=ACE_Event_Handler::LO_PRIORITY)
 

Private Types

enum  Lock_Type { TAO_NULL_LOCK , TAO_THREAD_LOCK }
 
enum  Transport_Mux_Strategy { TAO_MUXED_TMS , TAO_EXCLUSIVE_TMS }
 
enum  Wait_Strategy { TAO_WAIT_ON_LEADER_FOLLOWER , TAO_WAIT_ON_REACTOR , TAO_WAIT_ON_READ , TAO_WAIT_ON_LF_NO_UPCALL }
 

Private Attributes

Transport_Mux_Strategy transport_mux_strategy_
 The client Request Mux Strategy.
 
Wait_Strategy wait_strategy_
 The wait-for-reply strategy.
 
Connect_Strategy connect_strategy_
 The connection initiation strategy.
 
int rd_table_size_
 Size of the reply dispatcher table.
 
Lock_Type muxed_strategy_lock_type_
 Type of lock for the muxed_strategy.
 
bool use_cleanup_options_
 Cleanupoptions for RW strategy.
 
TAO::Invocation_Retry_Params invocation_retry_params_
 Retry options when exceptions occur.
 
Messaging::SyncScope sync_scope_
 

Additional Inherited Members

- Public Types inherited from TAO_Client_Strategy_Factory
enum  Connect_Strategy { TAO_BLOCKED_CONNECT , TAO_REACTIVE_CONNECT , TAO_LEADER_FOLLOWER_CONNECT }
 
- Public Types inherited from ACE_Event_Handler
typedef long Reference_Count
 
- Static Public Member Functions inherited from ACE_Event_Handler
static ACE_THR_FUNC_RETURN read_adapter (void *event_handler)
 
static int register_stdin_handler (ACE_Event_Handler *eh, ACE_Reactor *reactor, ACE_Thread_Manager *thr_mgr, int flags=THR_DETACHED)
 
static int remove_stdin_handler (ACE_Reactor *reactor, ACE_Thread_Manager *thr_mgr)
 
- Public Attributes inherited from ACE_Service_Object
 ACE_ALLOC_HOOK_DECLARE
 
- Public Attributes inherited from ACE_Event_Handler
 LO_PRIORITY
 
 HI_PRIORITY
 
 NULL_MASK
 
 READ_MASK
 
 WRITE_MASK
 
 EXCEPT_MASK
 
 ACCEPT_MASK
 
 CONNECT_MASK
 
 TIMER_MASK
 
 QOS_MASK
 
 GROUP_QOS_MASK
 
 SIGNAL_MASK
 
 ALL_EVENTS_MASK
 
 RWE_MASK
 
 DONT_CALL
 
 ACE_EVENT_HANDLER_NOT_RESUMED
 
 ACE_REACTOR_RESUMES_HANDLER
 
 ACE_APPLICATION_RESUMES_HANDLER
 
- Protected Types inherited from ACE_Event_Handler
typedef std::atomic< Reference_CountAtomic_Reference_Count
 
- Protected Attributes inherited from ACE_Event_Handler
Atomic_Reference_Count reference_count_
 

Detailed Description

This is the "default" client strategy factor for TAO. It includes strategies that are configured through command-line options so that everything operates as if there were no dynamically-linkable strategies.

Member Enumeration Documentation

◆ Lock_Type

Enumerator
TAO_NULL_LOCK 
TAO_THREAD_LOCK 

◆ Transport_Mux_Strategy

Enumerator
TAO_MUXED_TMS 
TAO_EXCLUSIVE_TMS 

◆ Wait_Strategy

Enumerator
TAO_WAIT_ON_LEADER_FOLLOWER 
TAO_WAIT_ON_REACTOR 
TAO_WAIT_ON_READ 
TAO_WAIT_ON_LF_NO_UPCALL 

Constructor & Destructor Documentation

◆ TAO_Default_Client_Strategy_Factory()

TAO_Default_Client_Strategy_Factory::TAO_Default_Client_Strategy_Factory ( )

Constructor.

◆ ~TAO_Default_Client_Strategy_Factory()

TAO_Default_Client_Strategy_Factory::~TAO_Default_Client_Strategy_Factory ( )
virtual

Destructor.

Member Function Documentation

◆ allow_callback()

int TAO_Default_Client_Strategy_Factory::allow_callback ( )
virtual

Does the client allow any form of callback?

Implements TAO_Client_Strategy_Factory.

◆ connect_strategy()

TAO_Client_Strategy_Factory::Connect_Strategy TAO_Default_Client_Strategy_Factory::connect_strategy ( ) const
virtual

Return the selected connection strategy option.

Implements TAO_Client_Strategy_Factory.

◆ create_connect_strategy()

TAO_Connect_Strategy * TAO_Default_Client_Strategy_Factory::create_connect_strategy ( TAO_ORB_Core * )
virtual

Create the correct client asynch_connect strategy.

Implements TAO_Client_Strategy_Factory.

◆ create_transport_mux_strategy()

TAO_Transport_Mux_Strategy * TAO_Default_Client_Strategy_Factory::create_transport_mux_strategy ( TAO_Transport * transport)
virtual

Create the correct client transport muxing strategy.

Implements TAO_Client_Strategy_Factory.

◆ create_transport_mux_strategy_lock()

ACE_Lock * TAO_Default_Client_Strategy_Factory::create_transport_mux_strategy_lock ( )
virtual

Create the correct lock for request muxing strategy.

Implements TAO_Client_Strategy_Factory.

◆ create_wait_strategy()

TAO_Wait_Strategy * TAO_Default_Client_Strategy_Factory::create_wait_strategy ( TAO_Transport * transport)
virtual

Create the correct client wait_for_reply strategy.

Implements TAO_Client_Strategy_Factory.

◆ init()

int TAO_Default_Client_Strategy_Factory::init ( int argc,
ACE_TCHAR * argv[] )
virtual

Dynamic linking hook.

Reimplemented from ACE_Shared_Object.

◆ invocation_retry_params()

const TAO::Invocation_Retry_Params & TAO_Default_Client_Strategy_Factory::invocation_retry_params ( ) const
virtual

Return the parameters used to optionally retry invocation after an exception occurs.

Implements TAO_Client_Strategy_Factory.

◆ parse_args()

int TAO_Default_Client_Strategy_Factory::parse_args ( int argc,
ACE_TCHAR * argv[] )

Parse svc.conf arguments.

◆ reply_dispatcher_table_size()

int TAO_Default_Client_Strategy_Factory::reply_dispatcher_table_size ( ) const
virtual

Return the size of the reply dispatcher table.

Implements TAO_Client_Strategy_Factory.

◆ report_option_value_error()

void TAO_Default_Client_Strategy_Factory::report_option_value_error ( const ACE_TCHAR * option_name,
const ACE_TCHAR * option_value )
protected

◆ sync_scope()

Messaging::SyncScope TAO_Default_Client_Strategy_Factory::sync_scope ( ) const
virtual

Return the value to be used as the default sync scope for the ORB.

Implements TAO_Client_Strategy_Factory.

◆ use_cleanup_options()

bool TAO_Default_Client_Strategy_Factory::use_cleanup_options ( ) const
virtual

Cleanup options for wait strategy.

Only applicable to RW wait strategy

Implements TAO_Client_Strategy_Factory.

Member Data Documentation

◆ connect_strategy_

Connect_Strategy TAO_Default_Client_Strategy_Factory::connect_strategy_
private

The connection initiation strategy.

◆ invocation_retry_params_

TAO::Invocation_Retry_Params TAO_Default_Client_Strategy_Factory::invocation_retry_params_
private

Retry options when exceptions occur.

◆ muxed_strategy_lock_type_

Lock_Type TAO_Default_Client_Strategy_Factory::muxed_strategy_lock_type_
private

Type of lock for the muxed_strategy.

◆ rd_table_size_

int TAO_Default_Client_Strategy_Factory::rd_table_size_
private

Size of the reply dispatcher table.

◆ sync_scope_

Messaging::SyncScope TAO_Default_Client_Strategy_Factory::sync_scope_
private

The default sync scope used with oneways when a policy does not override

◆ transport_mux_strategy_

Transport_Mux_Strategy TAO_Default_Client_Strategy_Factory::transport_mux_strategy_
private

The client Request Mux Strategy.

◆ use_cleanup_options_

bool TAO_Default_Client_Strategy_Factory::use_cleanup_options_
private

Cleanupoptions for RW strategy.

◆ wait_strategy_

Wait_Strategy TAO_Default_Client_Strategy_Factory::wait_strategy_
private

The wait-for-reply strategy.


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