TAO  2.2.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Attributes | Private Member Functions | List of all members
TAO_Default_Endpoint_Selector_Factory Class Reference

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

#include <Default_Endpoint_Selector_Factory.h>

Inheritance diagram for TAO_Default_Endpoint_Selector_Factory:
Inheritance graph
Collaboration diagram for TAO_Default_Endpoint_Selector_Factory:
Collaboration graph

Public Member Functions

 TAO_Default_Endpoint_Selector_Factory (void)
 Constructor. More...
 
virtual ~TAO_Default_Endpoint_Selector_Factory (void)
 Destructor. More...
 
virtual
TAO_Invocation_Endpoint_Selector
get_selector (void)
 
- Public Member Functions inherited from TAO_Endpoint_Selector_Factory
virtual ~TAO_Endpoint_Selector_Factory (void)
 Destructor. More...
 

Protected Attributes

TAO_Default_Endpoint_Selector
*const 
default_endpoint_selector_
 

Private Member Functions

 TAO_Default_Endpoint_Selector_Factory (TAO_Default_Endpoint_Selector_Factory const &)
 
void operator= (TAO_Default_Endpoint_Selector_Factory const &)
 

Detailed Description

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

Used by Invocation classes to initialize 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_Default_Endpoint_Selector_Factory::TAO_Default_Endpoint_Selector_Factory ( void  )

Constructor.

TAO_Default_Endpoint_Selector_Factory::~TAO_Default_Endpoint_Selector_Factory ( void  )
virtual

Destructor.

TAO_Default_Endpoint_Selector_Factory::TAO_Default_Endpoint_Selector_Factory ( TAO_Default_Endpoint_Selector_Factory const &  )
private

Member Function Documentation

TAO_Invocation_Endpoint_Selector * TAO_Default_Endpoint_Selector_Factory::get_selector ( void  )
virtual

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

Implements TAO_Endpoint_Selector_Factory.

void TAO_Default_Endpoint_Selector_Factory::operator= ( TAO_Default_Endpoint_Selector_Factory const &  )
private

Member Data Documentation

TAO_Default_Endpoint_Selector* const TAO_Default_Endpoint_Selector_Factory::default_endpoint_selector_
protected

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


The documentation for this class was generated from the following files: