summaryrefslogtreecommitdiff
path: root/qpid/cpp/src/qpid/management/ManagementAgent.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-12-15 14:40:01 +0000
committerAlan Conway <aconway@apache.org>2010-12-15 14:40:01 +0000
commit9f13478e6ad313df9f548a65553c1cb18e00d43b (patch)
tree0c0df8af36f38ffa41973c43a94618c1cc13e323 /qpid/cpp/src/qpid/management/ManagementAgent.h
parent8ad734ad94e5fca9c358326496515943250a5ac5 (diff)
downloadqpid-python-9f13478e6ad313df9f548a65553c1cb18e00d43b.tar.gz
Bug 662765 - Management broker ID should be the same for members of a cluster.
Replicate management UUID and name to members of a cluster. See https://bugzilla.redhat.com/show_bug.cgi?id=662765. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1049566 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/qpid/management/ManagementAgent.h')
-rw-r--r--qpid/cpp/src/qpid/management/ManagementAgent.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/qpid/cpp/src/qpid/management/ManagementAgent.h b/qpid/cpp/src/qpid/management/ManagementAgent.h
index 9829094a0f..7f5f3a856e 100644
--- a/qpid/cpp/src/qpid/management/ManagementAgent.h
+++ b/qpid/cpp/src/qpid/management/ManagementAgent.h
@@ -113,8 +113,6 @@ public:
const bool topic,
int qmfVersion);
- const framing::Uuid& getUuid() const { return uuid; }
-
/** Disallow a method. Attempts to call it will receive an exception with message. */
void disallow(const std::string& className, const std::string& methodName, const std::string& message);
@@ -138,7 +136,10 @@ public:
void setNextObjectId(uint64_t o) { nextObjectId = o; }
uint16_t getBootSequence(void) { return bootSequence; }
- void setBootSequence(uint16_t b) { bootSequence = b; }
+ void setBootSequence(uint16_t b) { bootSequence = b; writeData(); }
+
+ const framing::Uuid& getUuid() const { return uuid; }
+ void setUuid(const framing::Uuid& id) { uuid = id; writeData(); }
// TODO: remove these when Variant API moved into common library.
static types::Variant::Map toMap(const framing::FieldTable& from);