1 #ifndef PROTON_SENDER_OPTIONS_HPP
2 #define PROTON_SENDER_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 "./terminus.hpp"
72 PN_CPP_EXTERN ~sender_options();
75 PN_CPP_EXTERN sender_options&
operator=(
const sender_options&);
78 PN_CPP_EXTERN
void update(
const sender_options& other);
100 void apply(
sender&)
const;
103 internal::pn_unique_ptr<impl> impl_;
111 #endif // PROTON_SENDER_OPTIONS_HPP
void update(const sender_options &other)
Merge with another option set.
sender_options & handler(class messaging_handler &)
Set a messaging_handler for sender events only.
sender_options()
Create an empty set of options.
A channel for sending messages.
Definition: sender.hpp:40
Options for creating a sender.
Definition: sender_options.hpp:64
sender_options & delivery_mode(delivery_mode)
Set the delivery mode on the sender.
Include the definitions of all proton types used to represent AMQP types.
sender_options & operator=(const sender_options &)
Copy options.
The message delivery policy to establish when opening a link.
Definition: delivery_mode.hpp:30
Options for creating a source node for a sender or receiver.
Definition: source_options.hpp:45
sender_options & target(target_options &)
Options for the receiver node of the receiver.
A handler for Proton messaging events.
Definition: messaging_handler.hpp:75
sender_options & auto_settle(bool)
Automatically settle messages (default is true).
sender_options & source(source_options &)
Options for the source node of the sender.
Options for creating a target node for a sender or receiver.
Definition: target_options.hpp:47