TAO
2.0.8
|
Factory for initializing <Endpoint_Selection_State> and obtaining appropriate <Invocation_Endpoint_Selector>. More...
#include <Endpoint_Selector_Factory.h>
Public Member Functions | |
virtual | ~TAO_Endpoint_Selector_Factory (void) |
Destructor. | |
virtual TAO_Invocation_Endpoint_Selector * | get_selector (void)=0 |
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.
TAO_Endpoint_Selector_Factory::~TAO_Endpoint_Selector_Factory | ( | void | ) | [virtual] |
Destructor.
virtual TAO_Invocation_Endpoint_Selector* TAO_Endpoint_Selector_Factory::get_selector | ( | void | ) | [pure virtual] |
Get an Invocation's endpoint selection strategy and initialize the endpoint selection state instance.
Implemented in TAO_Default_Endpoint_Selector_Factory.