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) {}
58 NONDURABLE = PN_NONDURABLE,
60 CONFIGURATION = PN_CONFIGURATION,
62 UNSETTLED_STATE = PN_DELIVERIES
68 LINK_CLOSE = PN_EXPIRE_WITH_LINK,
70 SESSION_CLOSE = PN_EXPIRE_WITH_SESSION,
72 CONNECTION_CLOSE = PN_EXPIRE_WITH_CONNECTION,
74 NEVER = PN_EXPIRE_NEVER
84 PN_CPP_EXTERN
duration timeout()
const;
90 PN_CPP_EXTERN
bool dynamic()
const;
94 PN_CPP_EXTERN
value node_properties()
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 One end of a link, either a source or a target.
Definition: terminus.hpp:47
expiry_policy
When expiration of the source or target begins.
Definition: terminus.hpp:66
A span of time in milliseconds.
Definition: duration.hpp:36
A point of origin for messages.
Definition: source.hpp:41
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
A destination for messages.
Definition: target.hpp:42
The main Proton namespace.
Definition: annotation_key.hpp:30
durability_mode
The persistence mode of the source or target.
Definition: terminus.hpp:56