Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

RT_Endpoint_Selector_Factory Class Reference

Factory for initializing <Endpoint_Selection_State> and obtaining appropriate <Invocation_Endpoint_Selector>. More...

#include <RT_Endpoint_Selector_Factory.h>

Inheritance diagram for RT_Endpoint_Selector_Factory

Inheritance graph
[legend]
Collaboration diagram for RT_Endpoint_Selector_Factory:

Collaboration graph
[legend]
List of all members.

Public Methods

 RT_Endpoint_Selector_Factory (void)
 Constructor.

virtual ~RT_Endpoint_Selector_Factory (void)
 Destructor.

virtual TAO_Invocation_Endpoint_Selectorget_selector ( TAO_GIOP_Invocation *invocation, CORBA::Environment &ACE_TRY_ENV)
 Get an Invocation's endpoint selection strategy and initialize the endpoint selection state instance.


Protected Methods

void init_client_protocol (TAO_GIOP_Invocation *invocation, CORBA::Environment &ACE_TRY_ENV)
 Initializes RTCORBA::ClientProtocolPolicy in the endpoint selection state.


Private Attributes

TAO_RT_Default_Endpoint_Selectorrt_default_endpoint_selector_
 The possible endpoint selector strategies that can be returned by this factory.

TAO_Priority_Endpoint_Selectorpriority_endpoint_selector_
TAO_Bands_Endpoint_Selectorbands_endpoint_selector_
TAO_Protocol_Endpoint_Selectorprotocol_endpoint_selector_
TAO_Priority_Protocol_Selectorpriority_protocol_selector_
TAO_Bands_Protocol_Selectorbands_protocol_selector_

Detailed Description

Factory for initializing <Endpoint_Selection_State> and obtaining appropriate <Invocation_Endpoint_Selector>.

Used by Invocation classes to intialize its endpoint selection strategy and state based on the effective policies. Endpoint selection strategies are stateless objects - all the state they need is contained by Invocation in <Endpoint_Selection_State>. Thus, rather than allocating an endpoint selection strategy object for each Invocation, the factory simply returns the appropriate one from the set preallocated in the ORB_Core. One endpoint selection strategy object can be used by many invocations concurrently.


Constructor & Destructor Documentation

RT_Endpoint_Selector_Factory::RT_Endpoint_Selector_Factory ( void )
 

Constructor.

RT_Endpoint_Selector_Factory::~RT_Endpoint_Selector_Factory ( void ) [virtual]
 

Destructor.


Member Function Documentation

TAO_Invocation_Endpoint_Selector * RT_Endpoint_Selector_Factory::get_selector ( TAO_GIOP_Invocation * invocation,
CORBA::Environment & ACE_TRY_ENV ) [virtual]
 

Get an Invocation's endpoint selection strategy and initialize the endpoint selection state instance.

Reimplemented from TAO_Endpoint_Selector_Factory.

void RT_Endpoint_Selector_Factory::init_client_protocol ( TAO_GIOP_Invocation * invocation,
CORBA::Environment & ACE_TRY_ENV ) [protected]
 

Initializes RTCORBA::ClientProtocolPolicy in the endpoint selection state.


Member Data Documentation

TAO_Bands_Endpoint_Selector * RT_Endpoint_Selector_Factory::bands_endpoint_selector_ [private]
 

TAO_Bands_Protocol_Selector * RT_Endpoint_Selector_Factory::bands_protocol_selector_ [private]
 

TAO_Priority_Endpoint_Selector * RT_Endpoint_Selector_Factory::priority_endpoint_selector_ [private]
 

TAO_Priority_Protocol_Selector * RT_Endpoint_Selector_Factory::priority_protocol_selector_ [private]
 

TAO_Protocol_Endpoint_Selector * RT_Endpoint_Selector_Factory::protocol_endpoint_selector_ [private]
 

TAO_RT_Default_Endpoint_Selector * RT_Endpoint_Selector_Factory::rt_default_endpoint_selector_ [private]
 

The possible endpoint selector strategies that can be returned by this factory.


The documentation for this class was generated from the following files:
Generated at Sat Dec 1 12:19:02 2001 for TAO_RTCORBA by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000