TAO
2.3.3
|
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>
Public Member Functions | |
TAO_Default_Client_Strategy_Factory (void) | |
Constructor. More... | |
virtual | ~TAO_Default_Client_Strategy_Factory (void) |
Destructor. More... | |
virtual int | init (int argc, ACE_TCHAR *argv[]) |
Dynamic linking hook. More... | |
int | parse_args (int argc, ACE_TCHAR *argv[]) |
Parse svc.conf arguments. More... | |
virtual TAO_Transport_Mux_Strategy * | create_transport_mux_strategy (TAO_Transport *transport) |
Create the correct client transport muxing strategy. More... | |
virtual ACE_Lock * | create_transport_mux_strategy_lock (void) |
Create the correct lock for request muxing strategy. More... | |
virtual int | reply_dispatcher_table_size (void) const |
Return the size of the reply dispatcher table. More... | |
virtual int | allow_callback (void) |
Does the client allow any form of callback? More... | |
virtual TAO_Wait_Strategy * | create_wait_strategy (TAO_Transport *transport) |
Create the correct client wait_for_reply strategy. More... | |
virtual TAO_Connect_Strategy * | create_connect_strategy (TAO_ORB_Core *) |
Create the correct client asynch_connect strategy. More... | |
virtual bool | use_cleanup_options (void) const |
Cleanup options for wait strategy. More... | |
virtual Connect_Strategy | connect_strategy (void) const |
Return the selected connection strategy option. More... | |
virtual const TAO::Invocation_Retry_Params & | invocation_retry_params (void) const |
virtual Messaging::SyncScope | sync_scope () const |
Return the value to be used as the default sync scope for the ORB. More... | |
Public Member Functions inherited from TAO_Client_Strategy_Factory | |
virtual | ~TAO_Client_Strategy_Factory (void) |
Destructor. More... | |
Public Member Functions inherited from ACE_Service_Object | |
ACE_Service_Object (ACE_Reactor *=0) | |
virtual | ~ACE_Service_Object (void) |
virtual int | suspend (void) |
virtual int | resume (void) |
Public Member Functions inherited from ACE_Event_Handler | |
virtual | ~ACE_Event_Handler (void) |
virtual ACE_HANDLE | get_handle (void) const |
virtual void | set_handle (ACE_HANDLE) |
virtual int | priority (void) 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 (void) |
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 (void) const |
virtual ACE_Reactor_Timer_Interface * | reactor_timer_interface (void) const |
virtual Reference_Count | add_reference (void) |
virtual Reference_Count | remove_reference (void) |
Reference_Counting_Policy & | reference_counting_policy (void) |
Public Member Functions inherited from ACE_Shared_Object | |
ACE_Shared_Object (void) | |
virtual | ~ACE_Shared_Object (void) |
virtual int | fini (void) |
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 *=0, 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. More... | |
Wait_Strategy | wait_strategy_ |
The wait-for-reply strategy. More... | |
Connect_Strategy | connect_strategy_ |
The connection initiation strategy. More... | |
int | rd_table_size_ |
Size of the reply dispatcher table. More... | |
Lock_Type | muxed_strategy_lock_type_ |
Type of lock for the muxed_strategy. More... | |
bool | use_cleanup_options_ |
Cleanupoptions for RW strategy. More... | |
TAO::Invocation_Retry_Params | invocation_retry_params_ |
Retry options when exceptions occur. More... | |
Messaging::SyncScope | sync_scope_ |
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.
|
private |
|
private |
TAO_Default_Client_Strategy_Factory::TAO_Default_Client_Strategy_Factory | ( | void | ) |
Constructor.
|
virtual |
Destructor.
|
virtual |
Does the client allow any form of callback?
Implements TAO_Client_Strategy_Factory.
|
virtual |
Return the selected connection strategy option.
Implements TAO_Client_Strategy_Factory.
|
virtual |
Create the correct client asynch_connect strategy.
Implements TAO_Client_Strategy_Factory.
|
virtual |
Create the correct client transport muxing strategy.
Implements TAO_Client_Strategy_Factory.
|
virtual |
Create the correct lock for request muxing strategy.
Implements TAO_Client_Strategy_Factory.
|
virtual |
Create the correct client wait_for_reply strategy.
Implements TAO_Client_Strategy_Factory.
|
virtual |
Dynamic linking hook.
Reimplemented from ACE_Shared_Object.
|
virtual |
Return the parameters used to optionally retry invocation after an exception occurs.
Implements TAO_Client_Strategy_Factory.
int TAO_Default_Client_Strategy_Factory::parse_args | ( | int | argc, |
ACE_TCHAR * | argv[] | ||
) |
Parse svc.conf arguments.
|
virtual |
Return the size of the reply dispatcher table.
Implements TAO_Client_Strategy_Factory.
|
protected |
|
virtual |
Return the value to be used as the default sync scope for the ORB.
Implements TAO_Client_Strategy_Factory.
|
virtual |
Cleanup options for wait strategy.
Only applicable to RW wait strategy
Implements TAO_Client_Strategy_Factory.
|
private |
The connection initiation strategy.
|
private |
Retry options when exceptions occur.
|
private |
Type of lock for the muxed_strategy.
|
private |
Size of the reply dispatcher table.
|
private |
The default sync scope used with oneways when a policy does not override
|
private |
The client Request Mux Strategy.
|
private |
Cleanupoptions for RW strategy.
|
private |
The wait-for-reply strategy.