1 #ifndef PROTON_SOURCE_HPP
2 #define PROTON_SOURCE_HPP
25 #include "./value.hpp"
26 #include "./terminus.hpp"
27 #include "./codec/map.hpp"
29 #include "./internal/cached_map.hpp"
30 #include "./internal/export.hpp"
31 #include "./internal/object.hpp"
47 class filter_map :
public internal::cached_map<symbol, value> {};
68 PN_CPP_EXTERN std::string
address()
const;
74 PN_CPP_EXTERN filter_map
filters()
const;
82 friend class proton::internal::factory<
source>;
90 #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:53
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:61
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:43
source()
Create an empty source.
Definition: source.hpp:50
Experimental - A map of AMQP symbol keys and filter specifiers.
Definition: source.hpp:47
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 other links.
Definition: source.hpp:59
enum expiry_policy expiry_policy() const
Get the policy for when expiration begins.
Unspecified.
Definition: source.hpp:57
enum durability_mode durability_mode()
Get the durability flag.