TAO_Strategies  2.1.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes
TAO_OC_Endpoint_Selector_Factory Class Reference

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

#include <OC_Endpoint_Selector_Factory.h>

Inheritance diagram for TAO_OC_Endpoint_Selector_Factory:
Inheritance graph
Collaboration diagram for TAO_OC_Endpoint_Selector_Factory:
Collaboration graph

List of all members.

Public Member Functions

 TAO_OC_Endpoint_Selector_Factory (void)
virtual ~TAO_OC_Endpoint_Selector_Factory (void)
virtual int init (int argc, ACE_TCHAR *argv[])
get_selector (void)

Protected Member Functions

int register_orb_initializer (void)

Protected Attributes


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



Member Function Documentation

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

Implements TAO_Endpoint_Selector_Factory.

int TAO_OC_Endpoint_Selector_Factory::init ( int  argc,
ACE_TCHAR argv[] 

Reimplemented from ACE_Shared_Object.

Register the RTCORBA ORBInitializer.

Member Data Documentation

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

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