1 #ifndef PROTON_SENDER_OPTIONS_HPP 2 #define PROTON_SENDER_OPTIONS_HPP 26 #include "./internal/export.hpp" 27 #include "./internal/pn_unique_ptr.hpp" 65 PN_CPP_EXTERN ~sender_options();
68 PN_CPP_EXTERN sender_options&
operator=(
const sender_options&);
71 PN_CPP_EXTERN
void update(
const sender_options& other);
92 PN_CPP_EXTERN sender_options&
name(
const std::string&
name);
96 const std::string* get_name()
const;
99 internal::pn_unique_ptr<impl> impl_;
109 #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:39
Options for creating a sender.
Definition: sender_options.hpp:57
sender_options & delivery_mode(delivery_mode)
Set the delivery mode on the sender.
A container of senders and receivers.
Definition: session.hpp:41
sender_options & operator=(const sender_options &)
Copy options.
The message delivery policy to establish when opening a link.
Definition: delivery_mode.hpp:33
Options for creating a source node for a sender or receiver.
Definition: source_options.hpp:44
sender_options & source(const source_options &)
Options for the source node of the sender.
sender_options & name(const std::string &name)
Set the link name. If not set a unique name is generated.
sender_options & target(const target_options &)
Options for the receiver node of the receiver.
A handler for Proton messaging events.
Definition: messaging_handler.hpp:62
sender_options & auto_settle(bool)
Automatically settle messages (default is true).
The main Proton namespace.
Definition: annotation_key.hpp:33
Options for creating a target node for a sender or receiver.
Definition: target_options.hpp:44
The message delivery policy to establish when opening a link.