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