diff options
| author | Ted Ross <tross@apache.org> | 2008-11-21 20:17:22 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2008-11-21 20:17:22 +0000 |
| commit | 7bc808c71f28e7a58aeedbd6dcc450f1265d660c (patch) | |
| tree | cf61755e35a6bd9454ff68733b97a347e5c7bea5 /cpp/src/qpid/management/ManagementObject.cpp | |
| parent | 57c7e6d45483b94d4306eb93f285f4cbaa52bd57 (diff) | |
| download | qpid-python-7bc808c71f28e7a58aeedbd6dcc450f1265d660c.tar.gz | |
Fixed several problems related to qmf update timestamps:
- Timestamps were set at update send time regardless of whether
the object's contents were actually changed. Now timestamps are
set at the time of the change.
- Agent heartbeat messages are now being sent after periodic
updates, not before.
Cleaned up the Agent object in qmf.console.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@719699 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/management/ManagementObject.cpp')
| -rw-r--r-- | cpp/src/qpid/management/ManagementObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/management/ManagementObject.cpp b/cpp/src/qpid/management/ManagementObject.cpp index 5a40e3f619..f4c45de126 100644 --- a/cpp/src/qpid/management/ManagementObject.cpp +++ b/cpp/src/qpid/management/ManagementObject.cpp @@ -163,7 +163,7 @@ void ManagementObject::writeTimestamps (framing::Buffer& buf) buf.putShortString (getPackageName ()); buf.putShortString (getClassName ()); buf.putBin128 (getMd5Sum ()); - buf.putLongLong (uint64_t (sys::Duration (sys::now ()))); + buf.putLongLong (updateTime); buf.putLongLong (createTime); buf.putLongLong (destroyTime); objectId.encode(buf); |
