diff options
author | Kenneth Anthony Giusti <kgiusti@apache.org> | 2010-07-08 20:29:52 +0000 |
---|---|---|
committer | Kenneth Anthony Giusti <kgiusti@apache.org> | 2010-07-08 20:29:52 +0000 |
commit | 459f48df9d6b62a0f72be50c8ce082c1317c736e (patch) | |
tree | 144cf9f423de1fb798868ed22229ce159738d714 /cpp/include/qpid/management/ManagementObject.h | |
parent | df239e9f6987f45162d7ccd6459f1b73a81b39f9 (diff) | |
download | qpid-python-459f48df9d6b62a0f72be50c8ce082c1317c736e.tar.gz |
QMF: add api to get agent id, and new object id constructor that uses agent id.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@961919 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/include/qpid/management/ManagementObject.h')
-rw-r--r-- | cpp/include/qpid/management/ManagementObject.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/include/qpid/management/ManagementObject.h b/cpp/include/qpid/management/ManagementObject.h index 6bbd7ec407..59a7f00603 100644 --- a/cpp/include/qpid/management/ManagementObject.h +++ b/cpp/include/qpid/management/ManagementObject.h @@ -65,6 +65,10 @@ public: QPID_COMMON_EXTERN ObjectId(AgentAttachment* _agent, uint8_t flags, uint16_t seq); QPID_COMMON_EXTERN ObjectId(std::istream&); QPID_COMMON_EXTERN ObjectId(const std::string&); + QPID_COMMON_EXTERN ObjectId(const std::string& agentAddress, const std::string& key, + uint64_t epoch=0) : agent(0), first(0), second(0), + agentEpoch(epoch), v2Key(key), agentName(agentAddress) {} + // Deprecated: QPID_COMMON_EXTERN ObjectId(uint8_t flags, uint16_t seq, uint32_t broker, uint64_t object); QPID_COMMON_EXTERN bool operator==(const ObjectId &other) const; |