1 #ifndef PROTON_TERMINUS_HPP
2 #define PROTON_TERMINUS_HPP
26 #include "./internal/export.hpp"
28 #include <proton/terminus.h>
42 template <
class T>
class factory;
78 NEVER = PN_EXPIRE_NEVER
107 pn_terminus_t *pn_object()
const {
return object_; }
109 pn_terminus_t* object_;
113 friend class internal::factory<
terminus>;
A span of time in milliseconds.
Definition: duration.hpp:39
A point of origin for messages.
Definition: source.hpp:44
A destination for messages.
Definition: target.hpp:45
One end of a link, either a source or a target.
Definition: terminus.hpp:51
duration timeout() const
The period after which the source is discarded on expiry.
std::vector< symbol > capabilities() const
Extension capabilities that are supported/requested.
expiry_policy
When expiration of the source or target begins.
Definition: terminus.hpp:70
@ NEVER
The terminus never expires.
Definition: terminus.hpp:78
@ LINK_CLOSE
When the link is closed.
Definition: terminus.hpp:72
@ SESSION_CLOSE
When the containing session is closed.
Definition: terminus.hpp:74
@ CONNECTION_CLOSE
When the containing connection is closed.
Definition: terminus.hpp:76
durability_mode
The persistence mode of the source or target.
Definition: terminus.hpp:60
@ CONFIGURATION
Only configuration is persisted.
Definition: terminus.hpp:64
@ UNSETTLED_STATE
Configuration and unsettled state are persisted.
Definition: terminus.hpp:66
@ NONDURABLE
No persistence.
Definition: terminus.hpp:62
bool anonymous() const
True if the remote node is an anonymous-relay.
value node_properties() const
Obtain a reference to the AMQP dynamic node properties for the terminus.
bool dynamic() const
True if the remote node is created dynamically.
A holder for any AMQP value, simple or complex.
Definition: value.hpp:57
The main Proton namespace.
Definition: annotation_key.hpp:33
Forward declarations for Proton types used to represent AMQP types.