1 #ifndef PROTON_SOURCE_OPTIONS_HPP
2 #define PROTON_SOURCE_OPTIONS_HPP
25 #include "./internal/export.hpp"
101 void apply(
source&)
const;
104 std::unique_ptr<impl> impl_;
A span of time in milliseconds.
Definition: duration.hpp:39
Options for creating a receiver.
Definition: receiver_options.hpp:59
Options for creating a sender.
Definition: sender_options.hpp:60
Options for creating a source node for a sender or receiver.
Definition: source_options.hpp:46
source_options(const source_options &)
Copy options.
source_options & address(const std::string &)
Set the address for the source.
source_options & distribution_mode(enum source::distribution_mode)
Control whether messages are browsed or consumed.
source_options & operator=(const source_options &)
Copy options.
source_options & timeout(duration)
The expiry period after which the source is discarded.
source_options & dynamic_properties(const source::dynamic_property_map &)
Unsettled API Set the dynamic node properties.
source_options & durability_mode(enum source::durability_mode)
Control the persistence of the source node.
source_options & filters(const source::filter_map &)
Unsettled API - Specify a filter mechanism on the source that restricts message flow to a subset of t...
source_options & expiry_policy(enum source::expiry_policy)
Control when the clock for expiration begins.
source_options & dynamic(bool)
Request that a node be dynamically created by the remote peer.
source_options & capabilities(const std::vector< symbol > &)
Unsettled API Extension capabilities that are supported/requested
source_options & anonymous(bool)
Request an anonymous node on the remote peer.
source_options()
Create an empty set of options.
A point of origin for messages.
Definition: source.hpp:44
expiry_policy
When expiration of the source or target begins.
Definition: terminus.hpp:74
durability_mode
The persistence mode of the source or target.
Definition: terminus.hpp:64
distribution_mode
The policy for distributing messages.
Definition: source.hpp:54
A span of time in milliseconds.
The main Proton namespace.
Definition: annotation_key.hpp:33
A point of origin for messages.