#include <default_client.h>
Public Member Functions | |
TAO_Default_Client_Strategy_Factory (void) | |
Constructor. | |
virtual | ~TAO_Default_Client_Strategy_Factory (void) |
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 ACE_Lock * | create_profile_lock (void) |
virtual TAO_Configurable_Refcount | create_profile_refcount (void) |
Create the refcount for the profile. | |
virtual TAO_Transport_Mux_Strategy * | create_transport_mux_strategy (TAO_Transport *transport) |
Create the correct client transport muxing strategy. | |
virtual ACE_Lock * | create_transport_mux_strategy_lock (void) |
Create the correct lock for request muxing strategy. | |
virtual int | reply_dispatcher_table_size (void) const |
Return the size of the reply dispatcher table. | |
virtual int | allow_callback (void) |
Does the client allow any form of callback? | |
virtual TAO_Wait_Strategy * | create_wait_strategy (TAO_Transport *transport) |
Create the correct client <wait_for_reply> strategy. | |
virtual TAO_Connect_Strategy * | create_connect_strategy (TAO_ORB_Core *) |
Create the correct client <asynch_connect> strategy. | |
virtual bool | use_cleanup_options (void) const |
Cleanup options for wait strategy. | |
virtual Connect_Strategy | connect_strategy (void) const |
Return the selected connection strategy option. | |
Protected Member Functions | |
void | report_option_value_error (const ACE_TCHAR *option_name, const ACE_TCHAR *option_value) |
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 | |
Lock_Type | profile_lock_type_ |
the lock type for forwarding IIOP Profile | |
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. |
enum TAO_Default_Client_Strategy_Factory::Lock_Type [private] |
enum TAO_Default_Client_Strategy_Factory::Transport_Mux_Strategy [private] |
enum TAO_Default_Client_Strategy_Factory::Wait_Strategy [private] |
TAO_Default_Client_Strategy_Factory::TAO_Default_Client_Strategy_Factory | ( | void | ) |
Constructor.
TAO_Default_Client_Strategy_Factory::~TAO_Default_Client_Strategy_Factory | ( | void | ) | [virtual] |
Destructor.
int TAO_Default_Client_Strategy_Factory::allow_callback | ( | void | ) | [virtual] |
TAO_Client_Strategy_Factory::Connect_Strategy TAO_Default_Client_Strategy_Factory::connect_strategy | ( | void | ) | const [virtual] |
TAO_Connect_Strategy * TAO_Default_Client_Strategy_Factory::create_connect_strategy | ( | TAO_ORB_Core * | ) | [virtual] |
Create the correct client <asynch_connect> strategy.
Reimplemented from TAO_Client_Strategy_Factory.
ACE_Lock * TAO_Default_Client_Strategy_Factory::create_profile_lock | ( | void | ) | [virtual] |
Create the lock for the stub and the profile
Reimplemented from TAO_Client_Strategy_Factory.
TAO_Configurable_Refcount TAO_Default_Client_Strategy_Factory::create_profile_refcount | ( | void | ) | [virtual] |
TAO_Transport_Mux_Strategy * TAO_Default_Client_Strategy_Factory::create_transport_mux_strategy | ( | TAO_Transport * | transport | ) | [virtual] |
Create the correct client transport muxing strategy.
Reimplemented from TAO_Client_Strategy_Factory.
ACE_Lock * TAO_Default_Client_Strategy_Factory::create_transport_mux_strategy_lock | ( | void | ) | [virtual] |
Create the correct lock for request muxing strategy.
Reimplemented from TAO_Client_Strategy_Factory.
TAO_Wait_Strategy * TAO_Default_Client_Strategy_Factory::create_wait_strategy | ( | TAO_Transport * | transport | ) | [virtual] |
Create the correct client <wait_for_reply> strategy.
Reimplemented from TAO_Client_Strategy_Factory.
int TAO_Default_Client_Strategy_Factory::init | ( | int | argc, | |
ACE_TCHAR * | argv[] | |||
) | [virtual] |
int TAO_Default_Client_Strategy_Factory::parse_args | ( | int | argc, | |
ACE_TCHAR * | argv[] | |||
) |
Parse svc.conf arguments.
int TAO_Default_Client_Strategy_Factory::reply_dispatcher_table_size | ( | void | ) | const [virtual] |
void TAO_Default_Client_Strategy_Factory::report_option_value_error | ( | const ACE_TCHAR * | option_name, | |
const ACE_TCHAR * | option_value | |||
) | [protected] |
bool TAO_Default_Client_Strategy_Factory::use_cleanup_options | ( | void | ) | const [virtual] |
Cleanup options for wait strategy.
Only applicable to RW wait strategy
Reimplemented from TAO_Client_Strategy_Factory.
The connection initiation strategy.
Type of lock for the muxed_strategy.
the lock type for forwarding IIOP Profile
int TAO_Default_Client_Strategy_Factory::rd_table_size_ [private] |
Size of the reply dispatcher table.
The client Request Mux Strategy.
bool TAO_Default_Client_Strategy_Factory::use_cleanup_options_ [private] |
Cleanupoptions for RW strategy.
The wait-for-reply strategy.