diff options
| author | Kenneth Anthony Giusti <kgiusti@apache.org> | 2010-04-19 18:56:53 +0000 |
|---|---|---|
| committer | Kenneth Anthony Giusti <kgiusti@apache.org> | 2010-04-19 18:56:53 +0000 |
| commit | 28988707799e2f5a0efe08ea9094e91d61f95ec7 (patch) | |
| tree | 17cee54e1dfaae452e7f86f423eb16b34edb0be4 /cpp/src/qpid/agent | |
| parent | e95472e9b42c6dcb512b343880fe829213444ab6 (diff) | |
| download | qpid-python-28988707799e2f5a0efe08ea9094e91d61f95ec7.tar.gz | |
QMF: Add timestamps to generated V2 objects
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935704 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/agent')
| -rw-r--r-- | cpp/src/qpid/agent/ManagementAgentImpl.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/src/qpid/agent/ManagementAgentImpl.cpp b/cpp/src/qpid/agent/ManagementAgentImpl.cpp index 23cd284a2f..6bff91efd0 100644 --- a/cpp/src/qpid/agent/ManagementAgentImpl.cpp +++ b/cpp/src/qpid/agent/ManagementAgentImpl.cpp @@ -607,9 +607,11 @@ void ManagementAgentImpl::handleGetQuery(const string& body, const string& cid, objId.mapEncode(oidMap); map_["_values"] = values; map_["_object_id"] = oidMap; + object->writeTimestamps(map_); map_["_schema_id"] = mapEncodeSchemaId(object->getPackageName(), object->getClassName(), object->getMd5Sum()); + list_.push_back(map_); headers.erase("partial"); @@ -638,6 +640,7 @@ void ManagementAgentImpl::handleGetQuery(const string& body, const string& cid, iter->first.mapEncode(oidMap); map_["_values"] = values; map_["_object_id"] = oidMap; + object->writeTimestamps(map_); map_["_schema_id"] = mapEncodeSchemaId(object->getPackageName(), object->getClassName(), object->getMd5Sum()); @@ -940,6 +943,7 @@ void ManagementAgentImpl::periodicProcessing() map_["_schema_id"] = mapEncodeSchemaId(object->getPackageName(), object->getClassName(), object->getMd5Sum()); + object->writeTimestamps(map_); object->mapEncodeValues(values, send_props, send_stats); map_["_values"] = values; list_.push_back(map_); |
