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
enum durability_mode durability_mode()
Get the durability flag.
A point of origin for messages.
Definition: source.hpp:41
A channel for receiving messages.
Definition: receiver.hpp:37
One end of a link, either a source or a target.
Definition: terminus.hpp:47
A channel for sending messages.
Definition: sender.hpp:35
Unspecified.
Definition: source.hpp:55
distribution_mode
The policy for distributing messages.
Definition: source.hpp:51
The main Proton namespace.
Definition: annotation_key.hpp:30
Once transferred, the message remains available to other links.
Definition: source.hpp:57
std::string address() const
The address of the source.
source()
Create an empty source.
Definition: source.hpp:48
enum distribution_mode distribution_mode() const
Get the distribution mode.
filter_map filters() const
Experimental - Obtain the set of message filters.
enum expiry_policy expiry_policy() const
Get the policy for when expiration begins.
Experimental - A map of AMQP symbol keys and filter specifiers.
Definition: source.hpp:45
Once transferred, the message is unavailable to other links.
Definition: source.hpp:59