TAO_Client_Strategy_Factory Class Reference

Abstract factory used by the client to manufacture various strategies used on the client-side. More...

#include <Client_Strategy_Factory.h>

Inheritance diagram for TAO_Client_Strategy_Factory:

Inheritance graph
[legend]
Collaboration diagram for TAO_Client_Strategy_Factory:

Collaboration graph
[legend]
List of all members.

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 ACE_Lockcreate_profile_lock (void)
virtual TAO_Transport_Mux_Strategycreate_transport_mux_strategy (TAO_Transport *transport)
 Create the correct client request muxing strategy.

virtual ACE_Lockcreate_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_Strategycreate_wait_strategy (TAO_Transport *transport)
 Create the correct client strategy.

virtual TAO_Connect_Strategycreate_connect_strategy (TAO_ORB_Core *)
 Create the correct client 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 ACE_Lockcreate_ft_service_retention_id_lock (void)
virtual bool use_cleanup_options (void) const
 Cleanup options for wait strategy.


Detailed Description

Abstract factory used by the client to manufacture various strategies used on the client-side.

Definition at line 47 of file Client_Strategy_Factory.h.


Member Enumeration Documentation

enum TAO_Client_Strategy_Factory::Connect_Strategy
 

Enumeration values:
TAO_BLOCKED_CONNECT 
TAO_REACTIVE_CONNECT 
TAO_LEADER_FOLLOWER_CONNECT 

Definition at line 74 of file Client_Strategy_Factory.h.


Constructor & Destructor Documentation

TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_Client_Strategy_Factory::~TAO_Client_Strategy_Factory void   )  [virtual]
 

Destructor.

Definition at line 9 of file Client_Strategy_Factory.cpp.

00010 {
00011 }


Member Function Documentation

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 56 of file Client_Strategy_Factory.cpp.

00057 {
00058   return 0;
00059 }

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 44 of file Client_Strategy_Factory.cpp.

References TAO_BLOCKED_CONNECT.

Referenced by TAO::Profile_Transport_Resolver::use_parallel_connect().

00045 {
00046   return TAO_BLOCKED_CONNECT;
00047 }

TAO_Connect_Strategy * TAO_Client_Strategy_Factory::create_connect_strategy TAO_ORB_Core  )  [virtual]
 

Create the correct client strategy.

Reimplemented in TAO_Default_Client_Strategy_Factory.

Definition at line 50 of file Client_Strategy_Factory.cpp.

Referenced by TAO_Connector::create_connect_strategy().

00051 {
00052   return 0;
00053 }

ACE_Lock * TAO_Client_Strategy_Factory::create_ft_service_retention_id_lock void   )  [virtual]
 

Create a lock to be used by the TAO_Fault_Tolerant_Service class to generate unique retention ids

Reimplemented in TAO_Default_Client_Strategy_Factory.

Definition at line 62 of file Client_Strategy_Factory.cpp.

Referenced by TAO_Fault_Tolerance_Service::init().

00063 {
00064   return 0;
00065 }

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.

Referenced by TAO_Profile::TAO_Profile().

00015 {
00016   return 0;
00017 }

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 20 of file Client_Strategy_Factory.cpp.

Referenced by TAO_Transport::TAO_Transport().

00021 {
00022   return 0;
00023 }

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 26 of file Client_Strategy_Factory.cpp.

Referenced by TAO_Muxed_TMS::TAO_Muxed_TMS().

00027 {
00028   return 0;
00029 }

TAO_Wait_Strategy * TAO_Client_Strategy_Factory::create_wait_strategy TAO_Transport transport  )  [virtual]
 

Create the correct client strategy.

Reimplemented in TAO_Default_Client_Strategy_Factory.

Definition at line 38 of file Client_Strategy_Factory.cpp.

Referenced by TAO_Transport::TAO_Transport().

00039 {
00040   return 0;
00041 }

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 32 of file Client_Strategy_Factory.cpp.

00033 {
00034   return 0;
00035 }

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(), and TAO_Wait_On_Read::wait().

00069 {
00070   return false;
00071 }


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 12:12:33 2006 for TAO by doxygen 1.3.6