1 #ifndef PROTON_RECEIVER_OPTIONS_HPP
2 #define PROTON_RECEIVER_OPTIONS_HPP
26 #include "./internal/export.hpp"
27 #include "./internal/pn_unique_ptr.hpp"
67 PN_CPP_EXTERN ~receiver_options();
70 PN_CPP_EXTERN receiver_options&
operator=(
const receiver_options&);
73 PN_CPP_EXTERN
void update(
const receiver_options& other);
90 PN_CPP_EXTERN PN_CPP_DEPRECATED(
"applicable only to sender, not receiver") receiver_options&
auto_settle(
bool);
104 PN_CPP_EXTERN receiver_options&
name(
const std::string&
name);
107 PN_CPP_EXTERN receiver_options&
properties(
const std::map<symbol, value>&);
111 const std::string* get_name()
const;
114 internal::pn_unique_ptr<impl> impl_;
124 #endif // PROTON_RECEIVER_OPTIONS_HPP
receiver_options & target(target_options &)
Options for the target node of the receiver.
receiver_options & auto_settle(bool)
Deprecated - Applicable only to sender, not receiver.
receiver_options & credit_window(int count)
Automatically replenish credit for flow control up to count messages.
receiver_options & operator=(const receiver_options &)
Copy options.
A container of senders and receivers.
Definition: session.hpp:41
void update(const receiver_options &other)
Merge with another option set.
The message delivery policy to establish when opening a link.
Definition: delivery_mode.hpp:33
receiver_options & auto_accept(bool)
Enable or disable automatic acceptance of messages that aren't otherwise released, rejected, or modified.
Forward declarations for Proton types used to represent AMQP types.
Options for creating a source node for a sender or receiver.
Definition: source_options.hpp:44
Options for creating a receiver.
Definition: receiver_options.hpp:59
A channel for receiving messages.
Definition: receiver.hpp:40
receiver_options & properties(const std::map< symbol, value > &)
Unsettled API - Link properties.
receiver_options & handler(class messaging_handler &)
Set a messaging_handler for receiver events only.
Handler for Proton messaging events.
Definition: messaging_handler.hpp:68
receiver_options & delivery_mode(delivery_mode)
Set the delivery mode on the receiver.
receiver_options & name(const std::string &name)
Set the link name. If not set a unique name is generated.
receiver_options()
Create an empty set of options.
receiver_options & source(source_options &)
Options for the source node of the receiver.
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.