TAO 2.0.4
|
Abstract factory used by the client to manufacture various strategies used on the client-side. More...
#include <Client_Strategy_Factory.h>
Public Types | |
enum | Connect_Strategy { TAO_BLOCKED_CONNECT, TAO_REACTIVE_CONNECT, TAO_LEADER_FOLLOWER_CONNECT } |
Public Member Functions | |
virtual | ~TAO_Client_Strategy_Factory (void) |
Destructor. | |
virtual TAO_Transport_Mux_Strategy * | create_transport_mux_strategy (TAO_Transport *transport)=0 |
Create the correct client request muxing strategy. | |
virtual ACE_Lock * | create_transport_mux_strategy_lock (void)=0 |
Create the correct lock for request muxing strategy. | |
virtual int | reply_dispatcher_table_size (void) const =0 |
Return the size of the reply dispatcher table. | |
virtual TAO_Wait_Strategy * | create_wait_strategy (TAO_Transport *transport)=0 |
Create the correct client wait_for_reply strategy. | |
virtual TAO_Connect_Strategy * | create_connect_strategy (TAO_ORB_Core *)=0 |
Create the correct client asynch_connect strategy. | |
virtual Connect_Strategy | connect_strategy (void) const =0 |
Return the selected connection strategy option. | |
virtual int | allow_callback (void)=0 |
Does the client allow any form of callback? | |
virtual bool | use_cleanup_options (void) const =0 |
Cleanup options for wait strategy. |
Abstract factory used by the client to manufacture various strategies used on the client-side.
TAO_Client_Strategy_Factory::~TAO_Client_Strategy_Factory | ( | void | ) | [virtual] |
Destructor.
virtual int TAO_Client_Strategy_Factory::allow_callback | ( | void | ) | [pure virtual] |
Does the client allow any form of callback?
Implemented in TAO_Default_Client_Strategy_Factory.
virtual Connect_Strategy TAO_Client_Strategy_Factory::connect_strategy | ( | void | ) | const [pure virtual] |
Return the selected connection strategy option.
Implemented in TAO_Default_Client_Strategy_Factory.
virtual TAO_Connect_Strategy* TAO_Client_Strategy_Factory::create_connect_strategy | ( | TAO_ORB_Core * | ) | [pure virtual] |
Create the correct client asynch_connect strategy.
Implemented in TAO_Default_Client_Strategy_Factory.
virtual TAO_Transport_Mux_Strategy* TAO_Client_Strategy_Factory::create_transport_mux_strategy | ( | TAO_Transport * | transport | ) | [pure virtual] |
Create the correct client request muxing strategy.
Implemented in TAO_Default_Client_Strategy_Factory.
virtual ACE_Lock* TAO_Client_Strategy_Factory::create_transport_mux_strategy_lock | ( | void | ) | [pure virtual] |
Create the correct lock for request muxing strategy.
Implemented in TAO_Default_Client_Strategy_Factory.
virtual TAO_Wait_Strategy* TAO_Client_Strategy_Factory::create_wait_strategy | ( | TAO_Transport * | transport | ) | [pure virtual] |
Create the correct client wait_for_reply strategy.
Implemented in TAO_Default_Client_Strategy_Factory.
virtual int TAO_Client_Strategy_Factory::reply_dispatcher_table_size | ( | void | ) | const [pure virtual] |
Return the size of the reply dispatcher table.
Implemented in TAO_Default_Client_Strategy_Factory.
virtual bool TAO_Client_Strategy_Factory::use_cleanup_options | ( | void | ) | const [pure virtual] |
Cleanup options for wait strategy.
Only applicable to RW wait strategy
Implemented in TAO_Default_Client_Strategy_Factory.