diff options
author | Gordon Sim <gsim@apache.org> | 2010-03-03 17:06:44 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2010-03-03 17:06:44 +0000 |
commit | 2a71aa199010c48608f6d63794f52ad2e7afede5 (patch) | |
tree | c75a9248e0ced59974bde18a73f5237f5efb8446 /cpp/src/qpid/messaging/Message.cpp | |
parent | 589def015a6567ecb7be9fe2af0ebec662cea56c (diff) | |
download | qpid-python-2a71aa199010c48608f6d63794f52ad2e7afede5.tar.gz |
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
Diffstat (limited to 'cpp/src/qpid/messaging/Message.cpp')
-rw-r--r-- | cpp/src/qpid/messaging/Message.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |