|
TAO
2.2.4
|
Maintains state of invocation retries. More...
#include <Invocation_Retry_State.h>

Public Member Functions | |
| Invocation_Retry_State (TAO_Stub &stub) | |
| ~Invocation_Retry_State () | |
| bool | forward_on_exception_limit_used () const |
| bool | forward_on_exception_increment (const int ef) |
| bool | forward_on_reply_closed_increment () |
| void | next_profile_retry (TAO_Stub &stub) const |
| void | sleep_at_starting_profile (TAO_Stub &stub) const |
| void | sleep () const |
Private Types | |
| typedef ACE_Array_Map< int, int > | Ex_Count_Map |
Private Attributes | |
| Ex_Count_Map | ex_count_map_ |
| int | forward_on_reply_closed_count_ |
| Invocation_Retry_Params | retry_params_ |
| bool | forward_on_exception_limit_used_ |
Maintains state of invocation retries.
|
private |
| TAO::Invocation_Retry_State::Invocation_Retry_State | ( | TAO_Stub & | stub | ) |
| TAO::Invocation_Retry_State::~Invocation_Retry_State | ( | ) |
| bool TAO::Invocation_Retry_State::forward_on_exception_increment | ( | const int | ef | ) |
Attempt to increment the count of profile forwards.
| bool TAO::Invocation_Retry_State::forward_on_exception_limit_used | ( | ) | const |
Answer if any profile forward on exception limit parameter is used.
| bool TAO::Invocation_Retry_State::forward_on_reply_closed_increment | ( | ) |
Attempt to increment the count of retries when a server connection is seen as closed during reply.
| void TAO::Invocation_Retry_State::next_profile_retry | ( | TAO_Stub & | stub | ) | const |
Increment to next profile in preparation to retry using that profile. If the next profile is the starting base profile then also call sleep ().
| void TAO::Invocation_Retry_State::sleep | ( | ) | const |
Sleep according to the delay value in Invocation_Retry_Params.
| void TAO::Invocation_Retry_State::sleep_at_starting_profile | ( | TAO_Stub & | stub | ) | const |
Sleep if profile is the starting base profile.
|
private |
|
private |
|
private |
|
private |
1.8.6