#include <Invocation_Endpoint_Selectors.h>
Inheritance diagram for TAO_Invocation_Endpoint_Selector
Public Methods | |
TAO_Invocation_Endpoint_Selector (void) | |
Constructor. | |
virtual | ~TAO_Invocation_Endpoint_Selector (void) |
Destructor. | |
virtual void | select_endpoint (TAO_GIOP_Invocation *invocation, CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ()) = 0 |
Select the endpoint and set <invocation>'s <profile_> and <endpoint_> data members accordingly. | |
virtual void | next (TAO_GIOP_Invocation *invocation, CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ()) = 0 |
virtual void | forward (TAO_GIOP_Invocation *invocation, const TAO_MProfile &mprofile, CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ()) = 0 |
virtual void | success (TAO_GIOP_Invocation *invocation) = 0 |
Update the state to indicate that the selected endpoint/profile were used successfully. | |
virtual void | close_connection (TAO_GIOP_Invocation *invocation) = 0 |
Update the state to reflect that the connection being used for the invocation has been closed by the server. |
Selects/reselects server endpoint for an Invocation. Different concrete strategies perform selection based on different policies. All endpoint selection strategies are stateless objects - any necessary state is stored in Invocation's <endpoint_selection_state_>.
|
Constructor.
|
|
Destructor.
|
|
Update the state to reflect that the connection being used for the invocation has been closed by the server.
Reimplemented in TAO_Default_Endpoint_Selector. |
|
This method must be called if the invocation attempt on a selected endpoint resulted in location forward. This method performs the necessary state updates, so that next <select_endpoint> call picks a new endpoint. Reimplemented in TAO_Default_Endpoint_Selector. |
|
This method must be called when previously selected endpoint didn't work out, and we want to try another one, i.e., reselect. This method performs the necessary state updates, so that next <select_endpoint> call picks a new endpoint. Reimplemented in TAO_Default_Endpoint_Selector. |
|
Select the endpoint and set <invocation>'s <profile_> and <endpoint_> data members accordingly.
Reimplemented in TAO_Default_Endpoint_Selector. |
|
Update the state to indicate that the selected endpoint/profile were used successfully.
Reimplemented in TAO_Default_Endpoint_Selector. |