1 #ifndef PROTON_TERMINUS_HPP 2 #define PROTON_TERMINUS_HPP 25 #include "./internal/export.hpp" 26 #include "./internal/object.hpp" 27 #include "./value.hpp" 29 #include <proton/link.h> 46 terminus() : object_(0), parent_(0) {}
83 PN_CPP_EXTERN
bool dynamic()
const;
90 pn_terminus_t *pn_object() {
return object_; }
92 pn_terminus_t* object_;
96 friend class internal::factory<
terminus>;
104 #endif // PROTON_TERMINUS_HPP One end of a link, either a source or a target.
Definition: terminus.hpp:40
No persistence.
Definition: terminus.hpp:51
expiry_policy
When expiration of the source or target begins.
Definition: terminus.hpp:59
A span of time in milliseconds.
Definition: duration.hpp:34
The terminus never expires.
Definition: terminus.hpp:67
duration timeout() const
The period after which the source is discarded on expiry.
When the link is closed.
Definition: terminus.hpp:61
enum expiry_policy expiry_policy() const
Get the policy for when expiration begins.
A point of origin for messages.
Definition: source.hpp:43
When the containing session is closed.
Definition: terminus.hpp:63
Configuration and unsettled state are persisted.
Definition: terminus.hpp:55
A holder for any AMQP value, simple or complex.
Definition: value.hpp:60
value node_properties() const
Obtain a reference to the AMQP dynamic node properties for the terminus.
Only configuration is persisted.
Definition: terminus.hpp:53
A destination for messages.
Definition: target.hpp:40
When the containing connection is closed.
Definition: terminus.hpp:65
bool dynamic() const
True if the remote node is created dynamically.
enum durability_mode durability_mode()
Get the durability flag.
Type traits for mapping between AMQP and C++ types.
Definition: annotation_key.hpp:28
durability_mode
The persistence mode of the source or target.
Definition: terminus.hpp:49