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

 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_Lockcreate_profile_lock (void)
virtual TAO_Configurable_Refcount create_profile_refcount (void)
 Create the refcount for the profile.
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 <wait_for_reply> strategy.
virtual TAO_Connect_Strategycreate_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.

Detailed Description

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

Definition at line 48 of file Client_Strategy_Factory.h.


Member Enumeration Documentation

enum TAO_Client_Strategy_Factory::Connect_Strategy

Enumerator:
TAO_BLOCKED_CONNECT 
TAO_REACTIVE_CONNECT 
TAO_LEADER_FOLLOWER_CONNECT 

Definition at line 78 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 62 of file Client_Strategy_Factory.cpp.

00063 {
00064   return 0;
00065 }

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().

00057 {
00058   return 0;
00059 }

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.

00015 {
00016   return 0;
00017 }

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.

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().

00027 {
00028   return 0;
00029 }

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().

00033 {
00034   return 0;
00035 }

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().

00045 {
00046   return 0;
00047 }

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.

00039 {
00040   return 0;
00041 }

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().

00069 {
00070   return false;
00071 }


The documentation for this class was generated from the following files:
Generated on Tue Feb 2 17:39:23 2010 for TAO by  doxygen 1.4.7