1 #ifndef PROTON_SOURCE_HPP
2 #define PROTON_SOURCE_HPP
26 #include "./internal/export.hpp"
27 #include "./internal/cached_map.hpp"
28 #include "./symbol.hpp"
29 #include "./terminus.hpp"
30 #include "./value.hpp"
45 class filter_map :
public internal::cached_map<symbol, value> {};
66 PN_CPP_EXTERN std::string
address()
const;
72 PN_CPP_EXTERN filter_map
filters()
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:47
Once transferred, the message is unavailable to other links.
Definition: source.hpp:59
A channel for sending messages.
Definition: sender.hpp:35
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
Experimental - A map of AMQP symbol keys and filter specifiers.
Definition: source.hpp:45
A channel for receiving messages.
Definition: receiver.hpp:37
std::string address() const
The address of the source.
Once transferred, the message remains available to other 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.