1 #ifndef PROTON_RECONNECT_OPTIONS_HPP 2 #define PROTON_RECONNECT_OPTIONS_HPP 25 #include "./internal/export.hpp" 26 #include "./internal/pn_unique_ptr.hpp" 81 PN_CPP_DEPRECATED(
"use connection_options::failover_urls()")
86 internal::pn_unique_ptr<impl> impl_;
96 #endif // PROTON_RECONNECT_OPTIONS_HPP A top-level container of connections, sessions, and links.
Definition: container.hpp:50
Unsettled API - Options for reconnect and failover after connection loss.
Definition: reconnect_options.hpp:49
A span of time in milliseconds.
Definition: duration.hpp:39
Options for creating a connection.
Definition: connection_options.hpp:67
A point of origin for messages.
reconnect_options & delay_multiplier(float)
The scaling multiplier for successive reconnect delays.
A span of time in milliseconds.
reconnect_options()
Create an empty set of options.
reconnect_options & delay(duration)
The base value for recurring delays.
reconnect_options & operator=(const reconnect_options &)
Copy options.
reconnect_options & failover_urls(const std::vector< std::string > &conn_urls)
Deprecated - use connection_options::failover_urls Alternative connection URLs used for failover...
reconnect_options & max_attempts(int)
The maximum number of reconnect attempts.
reconnect_options & max_delay(duration)
The maximum delay between successive connect attempts.
The main Proton namespace.
Definition: annotation_key.hpp:33