TAO_Endpoint_Selector_Factory Class Reference

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

#include <Endpoint_Selector_Factory.h>

Inheritance diagram for TAO_Endpoint_Selector_Factory:

Inheritance graph
Collaboration diagram for TAO_Endpoint_Selector_Factory:

Collaboration graph
List of all members.

Public Member Functions

virtual ~TAO_Endpoint_Selector_Factory (void)
virtual TAO_Invocation_Endpoint_Selectorget_selector (ACE_ENV_SINGLE_ARG_DECL)=0

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

TAO_Endpoint_Selector_Factory::~TAO_Endpoint_Selector_Factory void   )  [virtual]


Member Function Documentation

virtual TAO_Invocation_Endpoint_Selector* TAO_Endpoint_Selector_Factory::get_selector ACE_ENV_SINGLE_ARG_DECL   )  [pure virtual]

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

Implemented in TAO_Default_Endpoint_Selector_Factory.

The documentation for this class was generated from the following files:
Generated on Wed Nov 23 16:02:27 2005 for TAO by  doxygen 1.4.5