38 throw std::runtime_error
40 "Maximal number of TCP Recovery requests " 41 "per second must be greater than zero. " 49 std::string username_;
50 std::string password_;
52 UInt32 acquisitionTimeout_;
63 , acquisitionTimeout_(500)
87 const std::string& username)
105 const std::string& password)
107 password_ = password;
124 return acquisitionTimeout_;
141 UInt32 acquisitionTimeout)
143 acquisitionTimeout_ =
166 maxRequests_ = maxRequests;
197 ONIXS_CONFLATEDUDP_EXPORTED
213 toStr(str, settings);
void watch(WatchService &watch)
void maxRequests(UInt32 maxRequests)
void throwZeroTcpRecoveryRequestLimit()
Throws error on zero TCP recovery request limit value.
UInt32 maxRequests() const
const std::string & username() const
TCP recovery service configuration settings.
void username(const std::string &username)
Services as a marker for special construction.
#define ONIXS_CONFLATEDUDP_EXPORTED_CLASS_DECL(typeName)
std::string toStr(const TcpRecoverySettings &settings)
Serializes TCP recovery settings.
UInt32 acquisitionTimeout() const
TcpRecoverySettings()
Initializes parameters with default values.
ONIXS_CONFLATEDUDP_EXPORTED void brief(std::string &, const DirectBook &)
Book brief info.
WatchService & watch() const
void acquisitionTimeout(UInt32 acquisitionTimeout)
#define ONIXS_CONFLATEDUDP_NAMESPACE_END
#define ONIXS_CONFLATEDUDP_EXPORTED_CLASS
const std::string & password() const
#define ONIXS_CONFLATEDUDP_LTWT_CLASS
#define ONIXS_CONFLATEDUDP_NAMESPACE_BEGIN
void password(const std::string &password)
~TcpRecoverySettings()
Cleans everything up.