1 #ifndef PROTON_DELIVERY_MODE_H
2 #define PROTON_DELIVERY_MODE_H
52 delivery_mode(
modes m) : modes_(m) {}
53 operator modes() {
return modes_; }
The main Proton namespace.
Definition: annotation_key.hpp:33
The message delivery policy to establish when opening a link.
Definition: delivery_mode.hpp:33
modes
Delivery modes.
Definition: delivery_mode.hpp:35
@ AT_LEAST_ONCE
The receiver settles the delivery first with an accept/reject/release disposition.
Definition: delivery_mode.hpp:46
@ NONE
No set policy.
Definition: delivery_mode.hpp:38
@ AT_MOST_ONCE
Outgoing messages are settled immediately by the link.
Definition: delivery_mode.hpp:41