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;
57 terminus() : object_(0), parent_(0) {}
62 NONDURABLE = PN_NONDURABLE,
64 CONFIGURATION = PN_CONFIGURATION,
66 UNSETTLED_STATE = PN_DELIVERIES
72 LINK_CLOSE = PN_EXPIRE_WITH_LINK,
74 SESSION_CLOSE = PN_EXPIRE_WITH_SESSION,
76 CONNECTION_CLOSE = PN_EXPIRE_WITH_CONNECTION,
78 NEVER = PN_EXPIRE_NEVER
88 PN_CPP_EXTERN
duration timeout()
const;
94 PN_CPP_EXTERN
bool dynamic()
const;
98 PN_CPP_EXTERN
value node_properties()
const;
101 PN_CPP_EXTERN std::vector<symbol> capabilities()
const;
104 pn_terminus_t *pn_object()
const {
return object_; }
106 pn_terminus_t* object_;
110 friend class internal::factory<
terminus>;
118 #endif // PROTON_TERMINUS_HPP One end of a link, either a source or a target.
Definition: terminus.hpp:51
expiry_policy
When expiration of the source or target begins.
Definition: terminus.hpp:70
A span of time in milliseconds.
Definition: duration.hpp:39
A point of origin for messages.
Definition: source.hpp:44
Forward declarations for Proton types used to represent AMQP types.
A holder for any AMQP value, simple or complex.
Definition: value.hpp:57
A destination for messages.
Definition: target.hpp:45
The main Proton namespace.
Definition: annotation_key.hpp:33
durability_mode
The persistence mode of the source or target.
Definition: terminus.hpp:60