summaryrefslogtreecommitdiff
path: root/cpp/include/qpid/management/ManagementObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/qpid/management/ManagementObject.h')
-rw-r--r--cpp/include/qpid/management/ManagementObject.h4
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;