1 #ifndef PROTON_SOURCE_HPP
2 #define PROTON_SOURCE_HPP
26 #include "./internal/export.hpp"
62 MOVE = PN_DIST_MODE_MOVE
69 PN_CPP_EXTERN std::string
address()
const;
85 friend class proton::internal::factory<
source>;
A channel for receiving messages.
Definition: receiver.hpp:41
A channel for sending messages.
Definition: sender.hpp:40
A point of origin for messages.
Definition: source.hpp:44
std::string address() const
The address of the source.
const filter_map & filters() const
Unsettled API - Obtain the set of message filters.
source()=default
Create an empty source.
distribution_mode
The policy for distributing messages.
Definition: source.hpp:54
@ UNSPECIFIED
Unspecified.
Definition: source.hpp:58
@ COPY
Once transferred, the message remains available to other links.
Definition: source.hpp:60
@ MOVE
Once transferred, the message is unavailable to other links.
Definition: source.hpp:62
map< symbol, value > filter_map
Unsettled API - A map of AMQP symbol keys and filter specifiers.
Definition: source.hpp:48
One end of a link, either a source or a target.
Definition: terminus.hpp:53
expiry_policy
When expiration of the source or target begins.
Definition: terminus.hpp:74
durability_mode
The persistence mode of the source or target.
Definition: terminus.hpp:64
A collection of key-value pairs.
The main Proton namespace.
Definition: annotation_key.hpp:33
A string that represents the AMQP symbol type.
One end of a link, either a source or a target.
A holder for any AMQP value, simple or complex.