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;
82 NEVER = PN_EXPIRE_NEVER
116 pn_terminus_t *pn_object()
const {
return object_; }
118 pn_terminus_t* object_;
122 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:53
duration timeout() const
The period after which the source is discarded on expiry.
std::vector< symbol > capabilities() const
Unsettled API Extension capabilities that are supported/requested
dynamic_property_map dynamic_properties() const
Unsettled API Obtain the AMQP dynamic node properties for the terminus as a map.
expiry_policy
When expiration of the source or target begins.
Definition: terminus.hpp:74
@ NEVER
The terminus never expires.
Definition: terminus.hpp:82
@ LINK_CLOSE
When the link is closed.
Definition: terminus.hpp:76
@ SESSION_CLOSE
When the containing session is closed.
Definition: terminus.hpp:78
@ CONNECTION_CLOSE
When the containing connection is closed.
Definition: terminus.hpp:80
durability_mode
The persistence mode of the source or target.
Definition: terminus.hpp:64
@ CONFIGURATION
Only configuration is persisted.
Definition: terminus.hpp:68
@ UNSETTLED_STATE
Configuration and unsettled state are persisted.
Definition: terminus.hpp:70
@ NONDURABLE
No persistence.
Definition: terminus.hpp:66
bool anonymous() const
True if the remote node is an anonymous-relay.
value node_properties() const
Obtain the AMQP dynamic node properties for the terminus as a single value.
bool dynamic() const
True if the remote node is created dynamically.
A holder for any AMQP value, simple or complex.
Definition: value.hpp:57
A collection of key-value pairs.
The main Proton namespace.
Definition: annotation_key.hpp:33
Forward declarations for Proton types used to represent AMQP types.