TAO_Default_Endpoint_Selector_Factory Class Reference

Factory for initializing and obtaining appropriate . More...

#include <Default_Endpoint_Selector_Factory.h>

Inheritance diagram for TAO_Default_Endpoint_Selector_Factory:

Inheritance graph
[legend]
Collaboration diagram for TAO_Default_Endpoint_Selector_Factory:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TAO_Default_Endpoint_Selector_Factory (void)
 Constructor.

virtual ~TAO_Default_Endpoint_Selector_Factory (void)
 Destructor.

virtual TAO_Invocation_Endpoint_Selectorget_selector ()

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 and obtaining appropriate .

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

Definition at line 52 of file Default_Endpoint_Selector_Factory.h.


Constructor & Destructor Documentation

TAO_BEGIN_VERSIONED_NAMESPACE_DECL TAO_Default_Endpoint_Selector_Factory::TAO_Default_Endpoint_Selector_Factory void   ) 
 

Constructor.

Definition at line 16 of file Default_Endpoint_Selector_Factory.cpp.

TAO_Default_Endpoint_Selector_Factory::~TAO_Default_Endpoint_Selector_Factory void   )  [virtual]
 

Destructor.

Definition at line 22 of file Default_Endpoint_Selector_Factory.cpp.

References default_endpoint_selector_.

00023 {
00024   delete this->default_endpoint_selector_;
00025 }

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  )  [virtual]
 

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

Implements TAO_Endpoint_Selector_Factory.

Definition at line 29 of file Default_Endpoint_Selector_Factory.cpp.

References default_endpoint_selector_.

00030 {
00031   // Trivial endpoint selector.  Just return the default selector.
00032   return this->default_endpoint_selector_;
00033 }

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

Definition at line 77 of file Default_Endpoint_Selector_Factory.h.

Referenced by get_selector(), and ~TAO_Default_Endpoint_Selector_Factory().


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 12:13:18 2006 for TAO by doxygen 1.3.6