From 2a71aa199010c48608f6d63794f52ad2e7afede5 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Wed, 3 Mar 2010 17:06:44 +0000 Subject: QPID-2402 & QPID-2406: Documented the units for the ttl property of Message. Eliminated use of qpid::sys::Duration from API. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@918575 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/messaging/Message.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src/qpid/messaging/Message.cpp') diff --git a/cpp/src/qpid/messaging/Message.cpp b/cpp/src/qpid/messaging/Message.cpp index e4b28c3b2c..4f8a358764 100644 --- a/cpp/src/qpid/messaging/Message.cpp +++ b/cpp/src/qpid/messaging/Message.cpp @@ -50,8 +50,8 @@ const std::string& Message::getUserId() const { return impl->userId; } void Message::setCorrelationId(const std::string& id) { impl->correlationId = id; } const std::string& Message::getCorrelationId() const { return impl->correlationId; } -void Message::setTtl(uint64_t ttl) { impl->ttl = ttl; } -uint64_t Message::getTtl() const { return impl->ttl; } +void Message::setTtl(Duration ttl) { impl->ttl = ttl; } +Duration Message::getTtl() const { return impl->ttl; } void Message::setDurable(bool durable) { impl->durable = durable; } bool Message::getDurable() const { return impl->durable; } -- cgit v1.2.1