#include <Client_Strategy_Factory.h>
Inheritance diagram for TAO_Client_Strategy_Factory:
Public Types | |
TAO_BLOCKED_CONNECT | |
TAO_REACTIVE_CONNECT | |
TAO_LEADER_FOLLOWER_CONNECT | |
enum | Connect_Strategy { TAO_BLOCKED_CONNECT, TAO_REACTIVE_CONNECT, TAO_LEADER_FOLLOWER_CONNECT } |
Public Member Functions | |
virtual | ~TAO_Client_Strategy_Factory (void) |
Destructor. | |
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 request 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 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 Connect_Strategy | connect_strategy (void) const |
Return the selected connection strategy option. | |
virtual int | allow_callback (void) |
Does the client allow any form of callback? | |
virtual bool | use_cleanup_options (void) const |
Cleanup options for wait strategy. |
Definition at line 48 of file Client_Strategy_Factory.h.
Definition at line 78 of file Client_Strategy_Factory.h.
00079 { 00080 TAO_BLOCKED_CONNECT, 00081 TAO_REACTIVE_CONNECT, 00082 TAO_LEADER_FOLLOWER_CONNECT 00083 };
TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_Client_Strategy_Factory::~TAO_Client_Strategy_Factory | ( | void | ) | [virtual] |
int TAO_Client_Strategy_Factory::allow_callback | ( | void | ) | [virtual] |
Does the client allow any form of callback?
Reimplemented in TAO_Default_Client_Strategy_Factory.
Definition at line 62 of file Client_Strategy_Factory.cpp.
TAO_Client_Strategy_Factory::Connect_Strategy TAO_Client_Strategy_Factory::connect_strategy | ( | void | ) | const [virtual] |
Return the selected connection strategy option.
Reimplemented in TAO_Default_Client_Strategy_Factory.
Definition at line 50 of file Client_Strategy_Factory.cpp.
References TAO_BLOCKED_CONNECT.
Referenced by TAO::Profile_Transport_Resolver::use_parallel_connect().
00051 { 00052 return TAO_BLOCKED_CONNECT; 00053 }
TAO_Connect_Strategy * TAO_Client_Strategy_Factory::create_connect_strategy | ( | TAO_ORB_Core * | ) | [virtual] |
Create the correct client <asynch_connect> strategy.
Reimplemented in TAO_Default_Client_Strategy_Factory.
Definition at line 56 of file Client_Strategy_Factory.cpp.
Referenced by TAO_Connector::create_connect_strategy().
ACE_Lock * TAO_Client_Strategy_Factory::create_profile_lock | ( | void | ) | [virtual] |
Create the lock for the stub and the profile
Reimplemented in TAO_Default_Client_Strategy_Factory.
Definition at line 14 of file Client_Strategy_Factory.cpp.
TAO_Configurable_Refcount TAO_Client_Strategy_Factory::create_profile_refcount | ( | void | ) | [virtual] |
Create the refcount for the profile.
Reimplemented in TAO_Default_Client_Strategy_Factory.
Definition at line 20 of file Client_Strategy_Factory.cpp.
References TAO_Configurable_Refcount::TAO_NULL_LOCK.
00021 { 00022 return TAO_Configurable_Refcount (TAO_Configurable_Refcount::TAO_NULL_LOCK); 00023 }
TAO_Transport_Mux_Strategy * TAO_Client_Strategy_Factory::create_transport_mux_strategy | ( | TAO_Transport * | transport | ) | [virtual] |
Create the correct client request muxing strategy.
Reimplemented in TAO_Default_Client_Strategy_Factory.
Definition at line 26 of file Client_Strategy_Factory.cpp.
Referenced by TAO_Transport::TAO_Transport().
ACE_Lock * TAO_Client_Strategy_Factory::create_transport_mux_strategy_lock | ( | void | ) | [virtual] |
Create the correct lock for request muxing strategy.
Reimplemented in TAO_Default_Client_Strategy_Factory.
Definition at line 32 of file Client_Strategy_Factory.cpp.
Referenced by TAO_Muxed_TMS::TAO_Muxed_TMS().
TAO_Wait_Strategy * TAO_Client_Strategy_Factory::create_wait_strategy | ( | TAO_Transport * | transport | ) | [virtual] |
Create the correct client <wait_for_reply> strategy.
Reimplemented in TAO_Default_Client_Strategy_Factory.
Definition at line 44 of file Client_Strategy_Factory.cpp.
Referenced by TAO_Transport::TAO_Transport().
int TAO_Client_Strategy_Factory::reply_dispatcher_table_size | ( | void | ) | const [virtual] |
Return the size of the reply dispatcher table.
Reimplemented in TAO_Default_Client_Strategy_Factory.
Definition at line 38 of file Client_Strategy_Factory.cpp.
bool TAO_Client_Strategy_Factory::use_cleanup_options | ( | void | ) | const [virtual] |
Cleanup options for wait strategy.
Only applicable to RW wait strategy
Reimplemented in TAO_Default_Client_Strategy_Factory.
Definition at line 68 of file Client_Strategy_Factory.cpp.
Referenced by TAO::Transport_Cache_Manager::find_transport().