MCPcopy Create free account
hub / github.com/apache/qpid-proton / ttl

Method ttl

cpp/src/message.cpp:317–317  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

315void message::durable(bool b) { pn_message_set_durable(pn_msg(), b); }
316
317duration message::ttl() const { return duration(pn_message_get_ttl(pn_msg())); }
318void message::ttl(duration d) { pn_message_set_ttl(pn_msg(), d.milliseconds()); }
319
320uint8_t message::priority() const { return pn_message_get_priority(pn_msg()); }

Callers 2

test_message_defaultsFunction · 0.45
test_message_propertiesFunction · 0.45

Calls 4

pn_message_get_ttlFunction · 0.85
pn_message_set_ttlFunction · 0.85
durationClass · 0.50
millisecondsMethod · 0.45

Tested by 2

test_message_defaultsFunction · 0.36
test_message_propertiesFunction · 0.36