Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages

# TAO_Default_Endpoint_Selector Class Reference

Default strategy for endpoint selection. More...

`#include <Invocation_Endpoint_Selectors.h>`

Inheritance diagram for TAO_Default_Endpoint_Selector:

[legend]
Collaboration diagram for TAO_Default_Endpoint_Selector:

[legend]
List of all members.

## Public Methods
| TAO_Default_Endpoint_Selector (void)
| Constructor.
virtual | ~TAO_Default_Endpoint_Selector (void)
| Destructor.
virtual void | select_endpoint (TAO::Profile_Transport_Resolver *r, ACE_Time_Value *val ACE_ENV_ARG_DECL)
| Select the endpoint and set r's `profile_`.

## Detailed Description

Default strategy for endpoint selection.

This strategy is used when there are no policies set or when the only policy set is RTCORBA::PriorityModelPolicy and its value is RTCORBA::SERVER_DECLARED. The strategy is to try the first endpoint from the first profile in the IOR. If that doesn't work, try the next profile, and so on.

## Constructor & Destructor Documentation

TAO_Default_Endpoint_Selector::TAO_Default_Endpoint_Selector | ( | void |  | ) |

| Constructor.

TAO_Default_Endpoint_Selector::~TAO_Default_Endpoint_Selector | ( | void |  | ) | `[virtual]`

| Destructor.

## Member Function Documentation

virtual void TAO_Default_Endpoint_Selector::select_endpoint | ( | TAO::Profile_Transport_Resolver * | r,
|  | ACE_Time_Value *val | ACE_ENV_ARG_DECL
| ) | `[virtual]`

| Select the endpoint and set r's `profile_`. Implements TAO_Invocation_Endpoint_Selector.

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

- Invocation_Endpoint_Selectors.h
- Invocation_Endpoint_Selectors.cpp