1 #ifndef PROTON_TARGET_HPP
2 #define PROTON_TARGET_HPP
26 #include "./internal/export.hpp"
27 #include "./terminus.hpp"
36 template <
class T>
class factory;
51 PN_CPP_EXTERN std::string
address()
const;
59 friend class internal::factory<
target>;
67 #endif // PROTON_TARGET_HPP
One end of a link, either a source or a target.
Definition: terminus.hpp:47
A channel for sending messages.
Definition: sender.hpp:35
std::string address() const
The address of the target.
target()
Create an empty target.
Definition: target.hpp:45
A channel for receiving messages.
Definition: receiver.hpp:37
A destination for messages.
Definition: target.hpp:42
enum expiry_policy expiry_policy() const
Get the policy for when expiration begins.
enum durability_mode durability_mode()
Get the durability flag.