1 #ifndef PROTON_SOURCE_HPP
2 #define PROTON_SOURCE_HPP
25 #include "./internal/export.hpp"
26 #include "./internal/object.hpp"
27 #include "./value.hpp"
28 #include "./terminus.hpp"
29 #include "./codec/map.hpp"
66 PN_CPP_EXTERN std::string
address()
const;
80 friend class proton::internal::factory<
source>;
88 #endif // PROTON_SOURCE_HPP
filter_map filters() const
Experimental - Obtain the set of message filters.
distribution_mode
The policy for distributing messages.
Definition: source.hpp:51
One end of a link, either a source or a target.
Definition: terminus.hpp:40
Once transferred, the message is unavailable to other links.
Definition: source.hpp:59
A channel for sending messages.
Definition: sender.hpp:40
enum distribution_mode distribution_mode() const
Get the distribution mode.
A point of origin for messages.
Definition: source.hpp:41
source()
Create an empty source.
Definition: source.hpp:48
std::map< symbol, value > filter_map
Experimental - A map of AMQP symbol keys and filter specifiers.
Definition: source.hpp:45
A channel for receiving messages.
Definition: receiver.hpp:39
std::string address() const
The address of the source.
Once transferred, the message remains available to ther links.
Definition: source.hpp:57
enum expiry_policy expiry_policy() const
Get the policy for when expiration begins.
Unspecified.
Definition: source.hpp:55
enum durability_mode durability_mode()
Get the durability flag.