TAO_Strategies
2.1.5
|
More efficient connection strategy for endpoint selection. More...
#include <Optimized_Connection_Endpoint_Selector.h>
Public Member Functions | |
TAO_Optimized_Connection_Endpoint_Selector (const ACE_Time_Value &tv) | |
Constructor. | |
virtual | ~TAO_Optimized_Connection_Endpoint_Selector (void) |
Destructor. | |
virtual void | select_endpoint (TAO::Profile_Transport_Resolver *, ACE_Time_Value *max_wait_time) |
Public Member Functions inherited from TAO_Default_Endpoint_Selector | |
virtual | ~TAO_Default_Endpoint_Selector (void) |
virtual | ~TAO_Invocation_Endpoint_Selector (void) |
Static Public Member Functions | |
static void | hook (TAO_ORB_Core *, TAO_Stub *, bool &has_timeout, ACE_Time_Value &tv) |
Private Member Functions | |
int | check_profile (TAO_Profile *, TAO::Profile_Transport_Resolver *) |
Static Private Attributes | |
static ACE_Time_Value | timeout_ |
More efficient connection strategy for endpoint selection.
This strategy builds on the default by first querying the connection cache for all potential endpoints before iterating over the list to attempt to create new connections.
TAO_Optimized_Connection_Endpoint_Selector::TAO_Optimized_Connection_Endpoint_Selector | ( | const ACE_Time_Value & | tv | ) |
Constructor.
|
virtual |
Destructor.
|
private |
|
static |
|
virtual |
Reimplemented from TAO_Default_Endpoint_Selector.
|
staticprivate |