1 #ifndef PROTON_SOURCE_OPTIONS_HPP
2 #define PROTON_SOURCE_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 "./source.hpp"
54 PN_CPP_EXTERN ~source_options();
57 PN_CPP_EXTERN source_options&
operator=(
const source_options&);
60 PN_CPP_EXTERN source_options&
address(
const std::string&);
64 PN_CPP_EXTERN source_options&
dynamic(
bool);
87 internal::pn_unique_ptr<impl> impl_;
98 #endif // PROTON_SOURCE_OPTIONS_HPP
source_options & timeout(duration)
The expiry period after which the source is discarded.
distribution_mode
The policy for distributing messages.
Definition: source.hpp:53
source_options & durability_mode(enum source::durability_mode)
Control the persistence of source state.
Options for creating a sender.
Definition: sender_options.hpp:64
A span of time in milliseconds.
Definition: duration.hpp:34
source_options & distribution_mode(enum source::distribution_mode)
Control whether messsages are browsed or consumed.
Include the definitions of all proton types used to represent AMQP types.
source_options()
Create an empty set of options.
A point of origin for messages.
Definition: source.hpp:43
source_options & expiry_policy(enum source::expiry_policy)
Control when the clock for expiration begins.
source_options & operator=(const source_options &)
Copy options.
Experimental - A map of AMQP symbol keys and filter specifiers.
Definition: source.hpp:47
durability_mode
The persistence mode of the source or target.
Definition: terminus.hpp:49
source_options & address(const std::string &)
Set the address for the source. Ignored if dynamic is true.
Options for creating a source node for a sender or receiver.
Definition: source_options.hpp:45
Options for creating a receiver.
Definition: receiver_options.hpp:62
source_options & filters(const source::filter_map &)
Experimental - Specify a filter mechanism on the source that restricts message flow to a subset of th...
expiry_policy
When expiration of the source or target begins.
Definition: terminus.hpp:59
Type traits for mapping between AMQP and C++ types.
Definition: annotation_key.hpp:28
source_options & dynamic(bool)
Request a dynamically created node to be created by the remote peer.