38 , reconnectAttempts_(3)
39 , reconnectInterval_(500)
41 , acquisitionTimeout_(500)
88 return reconnectAttempts_;
110 return reconnectInterval_;
136 return servingTimeout_;
166 return acquisitionTimeout_;
180 acquisitionTimeout_ =
186 std::string username_;
187 std::string password_;
189 UInt32 reconnectAttempts_;
190 UInt32 reconnectInterval_;
193 UInt32 acquisitionTimeout_;
213 toStr(str, settings);
#define ONIXS_CMESTREAMLINEDMDH_EXPORTED_CLASS
#define ONIXS_CMESTREAMLINEDMDH_INTERNAL_CLASS_DECL(typeName)
#define ONIXS_CMESTREAMLINEDMDH_NAMESPACE_BEGIN
#define ONIXS_CMESTREAMLINEDMDH_NAMESPACE_END
#define ONIXS_CMESTREAMLINEDMDH_LTWT_CLASS
#define ONIXS_CMESTREAMLINEDMDH_EXPORTED
const TcpRecoverySettings & settings() const
Settings defining service behavior.
TcpRecoveryService(const TcpRecoverySettings &)
Initializes instance according to given settings.
~TcpRecoveryService()
Finalizes instance and cleans everything up.
TCP recovery service configuration settings.
void username(const std::string &username)
Assigns username to identify a requester while logging on to a TCP Recovery service.
void servingTimeout(UInt32 servingTimeout)
Amount of time allocated to process a recovery request.
const std::string & username() const
Username to identify a requester while logging on to a TCP Recovery service.
void reconnectInterval(UInt32 reconnectInterval)
Interval between the attempts to receive missed packets via the TCP recovery feed if previous attempt...
~TcpRecoverySettings()
Cleans everything up.
UInt32 reconnectInterval() const
Interval between the attempts to receive missed packets via the TCP recovery feed if previous attempt...
UInt32 reconnectAttempts() const
Number of attempts to receive missed messages via the TCP recovery feed.
TcpRecoverySettings()
Initializes parameters with default values.
void reconnectAttempts(UInt32 reconnectAttempts)
Number of attempts to receive missed messages via the TCP recovery feed.
UInt32 acquisitionTimeout() const
Timeout on a TCP recovery service acquisition.
UInt32 servingTimeout() const
Amount of time allocated to process a recovery request.
void password(const std::string &password)
Assigns password to identify a requester while logging on to TCP Recovery service.
const std::string & password() const
Password to identify a requester while logging on to TCP Recovery service.
void acquisitionTimeout(UInt32 acquisitionTimeout)
Timeout of request for shared TCP recovery service.
void toStr(std::string &str, const Decimal &number)