#include <OnixS/CME/MDH/TcpRecovery.h>
Public Types | |
| enum | |
| enum | |
Public Member Functions | |
| TcpRecoverySettings () | |
| TcpRecoverySettings (const std::string &username, const std::string &password) | |
| ~TcpRecoverySettings () | |
| const std::string & | username () const |
| TcpRecoverySettings & | username (const std::string &username) |
| const std::string & | password () const |
| TcpRecoverySettings & | password (const std::string &password) |
| Messaging::UInt32 | acquisitionTimeout () const |
| TcpRecoverySettings & | acquisitionTimeout (Messaging::UInt32 acquisitionTimeout) |
| Messaging::UInt32 | maxRequests () const |
| TcpRecoverySettings & | maxRequests (Messaging::UInt32 maxRequests) |
| WatchService & | watch () const |
| TcpRecoverySettings & | watch (WatchService &watch) |
Definition at line 45 of file TcpRecovery.h.
| anonymous enum |
The default value of maxRequests().
| Enumerator | ||
|---|---|---|
| DefaultMaxRequests | 15 | |
Definition at line 52 of file TcpRecovery.h.
| anonymous enum |
The default value of acquisitionTimeout().
| Enumerator | ||
|---|---|---|
| DefaultAcquisitionTimeout | 500 | |
Definition at line 49 of file TcpRecovery.h.
|
inline |
Definition at line 54 of file TcpRecovery.h.
|
inline |
Definition at line 63 of file TcpRecovery.h.
|
inline |
Definition at line 72 of file TcpRecovery.h.
|
inline |
Returns the timeout (in milliseconds) on a TCP Recovery service acquisition.
The recovery request will be rejected if the TCP recovery service cannot be acquired within this period.
The default value is DefaultAcquisitionTimeout.
Definition at line 110 of file TcpRecovery.h.
|
inline |
Sets the timeout (in milliseconds) on a TCP Recovery service acquisition.
The recovery request will be rejected if the TCP recovery service cannot be acquired within this period.
Definition at line 118 of file TcpRecovery.h.
|
inline |
Returns the maximum number of requests per second.
When this limit is exceeded the recovery attempt is rejected.
The default value is DefaultMaxRequests.
Definition at line 130 of file TcpRecovery.h.
|
inline |
Sets the maximum number of requests per second.
When this limit is exceeded the recovery attempt is rejected.
Definition at line 138 of file TcpRecovery.h.
|
inline |
Password to identify a requester while logging on to TCP Recovery service.
Definition at line 92 of file TcpRecovery.h.
|
inline |
Assigns password to identify a requester while logging on to TCP Recovery service.
Definition at line 98 of file TcpRecovery.h.
|
inline |
Username to identify a requester while logging on to a TCP Recovery service.
Definition at line 76 of file TcpRecovery.h.
|
inline |
Assigns username to identify a requester while logging on to a TCP Recovery service.
Definition at line 83 of file TcpRecovery.h.
|
inline |
Watch service to be used by the service.
Watch is used by the service while restricting number of incoming requests.
Definition at line 158 of file TcpRecovery.h.
|
inline |
Watch service to be used by the service.
If no instance associated, UTC watch is used.
Definition at line 166 of file TcpRecovery.h.