1 #ifndef PROTON_TERMINUS_HPP
2 #define PROTON_TERMINUS_HPP
26 #include "./internal/export.hpp"
28 #include <proton/terminus.h>
38 template <
class T>
class factory;
53 terminus() : object_(0), parent_(0) {}
90 PN_CPP_EXTERN
bool dynamic()
const;
97 pn_terminus_t *pn_object() {
return object_; }
99 pn_terminus_t* object_;
103 friend class internal::factory<terminus>;
111 #endif // PROTON_TERMINUS_HPP
value node_properties() const
Obtain a reference to the AMQP dynamic node properties for the terminus.
One end of a link, either a source or a target.
Definition: terminus.hpp:47
No persistence.
Definition: terminus.hpp:58
expiry_policy
When expiration of the source or target begins.
Definition: terminus.hpp:66
A span of time in milliseconds.
Definition: duration.hpp:36
duration timeout() const
The period after which the source is discarded on expiry.
The terminus never expires.
Definition: terminus.hpp:74
When the link is closed.
Definition: terminus.hpp:68
When the containing session is closed.
Definition: terminus.hpp:70
Configuration and unsettled state are persisted.
Definition: terminus.hpp:62
Forward declarations for all the C++ types used by Proton to represent AMQP types.
A holder for any AMQP value, simple or complex.
Definition: value.hpp:55
Only configuration is persisted.
Definition: terminus.hpp:60
When the containing connection is closed.
Definition: terminus.hpp:72
enum expiry_policy expiry_policy() const
Get the policy for when expiration begins.
enum durability_mode durability_mode()
Get the durability flag.
durability_mode
The persistence mode of the source or target.
Definition: terminus.hpp:56
bool dynamic() const
True if the remote node is created dynamically.