diff options
Diffstat (limited to 'cpp/src/qpid/management/ManagementObject.cpp')
| -rw-r--r-- | cpp/src/qpid/management/ManagementObject.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/cpp/src/qpid/management/ManagementObject.cpp b/cpp/src/qpid/management/ManagementObject.cpp index bcb6159663..6cbe386517 100644 --- a/cpp/src/qpid/management/ManagementObject.cpp +++ b/cpp/src/qpid/management/ManagementObject.cpp @@ -169,6 +169,21 @@ void ManagementObject::writeTimestamps (framing::Buffer& buf) objectId.encode(buf); } +void ManagementObject::readTimestamps (framing::Buffer& buf) +{ + std::string unused; + uint8_t unusedUuid[16]; + ObjectId unusedObjectId; + + buf.getShortString(unused); + buf.getShortString(unused); + buf.getBin128(unusedUuid); + updateTime = buf.getLongLong(); + createTime = buf.getLongLong(); + destroyTime = buf.getLongLong(); + unusedObjectId.decode(buf); +} + void ManagementObject::setReference(ObjectId) {} int ManagementObject::getThreadIndex() { |
