1 #ifndef PROTON_TARGET_OPTIONS_HPP 2 #define PROTON_TARGET_OPTIONS_HPP 25 #include "./internal/config.hpp" 26 #include "./internal/export.hpp" 27 #include "./internal/pn_unique_ptr.hpp" 29 #include "./delivery_mode.hpp" 30 #include "./target.hpp" 31 #include "./terminus.hpp" 55 PN_CPP_EXTERN ~target_options();
58 PN_CPP_EXTERN target_options&
operator=(
const target_options&);
61 PN_CPP_EXTERN target_options&
address(
const std::string& addr);
65 PN_CPP_EXTERN target_options&
dynamic(
bool);
80 internal::pn_unique_ptr<impl> impl_;
91 #endif // PROTON_TARGET_OPTIONS_HPP Options for creating a sender.
Definition: sender_options.hpp:64
A span of time in milliseconds.
Definition: duration.hpp:34
target_options & dynamic(bool)
Request a dynamically created node to be created by the peer.
durability_mode
The persistence mode of the source or target.
Definition: terminus.hpp:49
Include the definitions of all proton types used to represent AMQP types.
expiry_policy
When expiration of the source or target begins.
Definition: terminus.hpp:59
target_options & timeout(duration)
The expiry period after which the target is discarded.
target_options()
Create an empty set of options.
target_options & address(const std::string &addr)
Set the address for the target. Ignored if dynamic is true.
target_options & durability_mode(enum target::durability_mode)
Control the persistence of target state.
Options for creating a receiver.
Definition: receiver_options.hpp:62
target_options & operator=(const target_options &)
Copy options.
A destination for messages.
Definition: target.hpp:40
target_options & expiry_policy(enum target::expiry_policy)
Control when the clock for expiration begins.
Type traits for mapping between AMQP and C++ types.
Definition: annotation_key.hpp:28
Options for creating a target node for a sender or receiver.
Definition: target_options.hpp:47