1 #ifndef PROTON_TERMINUS_HPP
2 #define PROTON_TERMINUS_HPP
27 #include "./internal/export.hpp"
29 #include <proton/terminus.h>
44 template <
class T>
class factory;
61 terminus() : object_(0), parent_(0) {}
98 PN_CPP_EXTERN
bool dynamic()
const;
116 pn_terminus_t *pn_object()
const {
return object_; }
118 pn_terminus_t* object_;
122 friend class internal::factory<terminus>;
130 #endif // PROTON_TERMINUS_HPP
value node_properties() const
Obtain the AMQP dynamic node properties for the terminus as a single value.
One end of a link, either a source or a target.
Definition: terminus.hpp:53
No persistence.
Definition: terminus.hpp:66
expiry_policy
When expiration of the source or target begins.
Definition: terminus.hpp:74
A span of time in milliseconds.
Definition: duration.hpp:39
duration timeout() const
The period after which the source is discarded on expiry.
A collection of key-value pairs.
The terminus never expires.
Definition: terminus.hpp:82
When the link is closed.
Definition: terminus.hpp:76
When the containing session is closed.
Definition: terminus.hpp:78
Configuration and unsettled state are persisted.
Definition: terminus.hpp:70
Forward declarations for Proton types used to represent AMQP types.
A holder for any AMQP value, simple or complex.
Definition: value.hpp:57
std::vector< symbol > capabilities() const
Unsettled API Extension capabilities that are supported/requested
Only configuration is persisted.
Definition: terminus.hpp:68
dynamic_property_map dynamic_properties() const
Unsettled API Obtain the AMQP dynamic node properties for the terminus as a map.
When the containing connection is closed.
Definition: terminus.hpp:80
enum expiry_policy expiry_policy() const
Get the policy for when expiration begins.
bool anonymous() const
True if the remote node is an anonymous-relay.
enum durability_mode durability_mode()
Get the durability flag.
The main Proton namespace.
Definition: annotation_key.hpp:33
durability_mode
The persistence mode of the source or target.
Definition: terminus.hpp:64
bool dynamic() const
True if the remote node is created dynamically.