#include <OnixS/CME/MDH/TcpRecovery.h>
Public Types | |
enum | { DefaultAcquisitionTimeout = 500 } |
enum | { DefaultMaxRequests = 15 } |
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) |
UInt32 | acquisitionTimeout () const |
TcpRecoverySettings & | acquisitionTimeout (UInt32 acquisitionTimeout) |
UInt32 | maxRequests () const |
TcpRecoverySettings & | maxRequests (UInt32 maxRequests) |
WatchService & | watch () const |
TcpRecoverySettings & | watch (WatchService &watch) |
Definition at line 39 of file TcpRecovery.h.
anonymous enum |
The default value of acquisitionTimeout().
Enumerator | |
---|---|
DefaultAcquisitionTimeout |
Definition at line 45 of file TcpRecovery.h.
anonymous enum |
The default value of maxRequests().
Enumerator | |
---|---|
DefaultMaxRequests |
Definition at line 50 of file TcpRecovery.h.
|
inline |
Definition at line 52 of file TcpRecovery.h.
|
inline |
Definition at line 61 of file TcpRecovery.h.
|
inline |
Definition at line 70 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 108 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 116 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 128 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 136 of file TcpRecovery.h.
|
inline |
Password to identify a requester while logging on to TCP Recovery service.
Definition at line 90 of file TcpRecovery.h.
|
inline |
Assigns password to identify a requester while logging on to TCP Recovery service.
Definition at line 96 of file TcpRecovery.h.
|
inline |
Username to identify a requester while logging on to a TCP Recovery service.
Definition at line 74 of file TcpRecovery.h.
|
inline |
Assigns username to identify a requester while logging on to a TCP Recovery service.
Definition at line 81 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 156 of file TcpRecovery.h.
|
inline |
Watch service to be used by the service.
If no instance associated, UTC watch is used.
Definition at line 164 of file TcpRecovery.h.