1 #ifndef PROTON_TARGET_OPTIONS_HPP
2 #define PROTON_TARGET_OPTIONS_HPP
25 #include "./internal/export.hpp"
26 #include "./internal/pn_unique_ptr.hpp"
27 #include "./duration.hpp"
28 #include "./target.hpp"
73 internal::pn_unique_ptr<impl> impl_;
84 #endif // PROTON_TARGET_OPTIONS_HPP
target_options & expiry_policy(enum target::expiry_policy)
Control when the clock for expiration begins.
Options for creating a target node for a sender or receiver.
Definition: target_options.hpp:40
target_options & durability_mode(enum target::durability_mode)
Control the persistence of target state.
target_options()
Create an empty set of options.
Options for creating a receiver.
Definition: receiver_options.hpp:52
A span of time in milliseconds.
Definition: duration.hpp:36
target_options & address(const std::string &addr)
Set the address for the target. Ignored if dynamic is true.
Options for creating a sender.
Definition: sender_options.hpp:54
expiry_policy
When expiration of the source or target begins.
Definition: terminus.hpp:66
A destination for messages.
Definition: target.hpp:42
target_options & dynamic(bool)
Request a dynamically created node to be created by the peer.
The main Proton namespace.
Definition: annotation_key.hpp:30
target_options & timeout(duration)
The expiry period after which the target is discarded.
durability_mode
The persistence mode of the source or target.
Definition: terminus.hpp:56
target_options & operator=(const target_options &)
Copy options.