summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/ClusterMap.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-03-31 16:52:50 +0000
committerAlan Conway <aconway@apache.org>2010-03-31 16:52:50 +0000
commitdda98127df553def41fb332f714c2f91858a7ea3 (patch)
tree85ce770251b694656176e4e29e055194293f430d /cpp/src/qpid/cluster/ClusterMap.h
parentf6f1900eb98cc1773a88a3ec309afa646438a384 (diff)
downloadqpid-python-dda98127df553def41fb332f714c2f91858a7ea3.tar.gz
Cluster: remove un-necessary code for config-seq.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929616 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/ClusterMap.h')
-rw-r--r--cpp/src/qpid/cluster/ClusterMap.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/cpp/src/qpid/cluster/ClusterMap.h b/cpp/src/qpid/cluster/ClusterMap.h
index 604d5c2d73..cfa4ad924a 100644
--- a/cpp/src/qpid/cluster/ClusterMap.h
+++ b/cpp/src/qpid/cluster/ClusterMap.h
@@ -50,7 +50,7 @@ class ClusterMap {
ClusterMap();
ClusterMap(const Map& map);
ClusterMap(const framing::FieldTable& joiners, const framing::FieldTable& members,
- framing::SequenceNumber frameSeq, framing::SequenceNumber configSeq);
+ framing::SequenceNumber frameSeq);
/** Update from config change.
*@return true if member set changed.
@@ -86,8 +86,6 @@ class ClusterMap {
framing::SequenceNumber getFrameSeq() const { return frameSeq; }
framing::SequenceNumber incrementFrameSeq() { return ++frameSeq; }
- framing::SequenceNumber getConfigSeq() const { return configSeq; }
- void resetConfigSeq() { configSeq = 0; }
/** Clear out all knowledge of joiners & members, just keep alive set */
void clearStatus() { joiners.clear(); members.clear(); }
@@ -97,7 +95,7 @@ class ClusterMap {
Map joiners, members;
Set alive;
- framing::SequenceNumber frameSeq, configSeq;
+ framing::SequenceNumber frameSeq;
friend std::ostream& operator<<(std::ostream&, const Map&);
friend std::ostream& operator<<(std::ostream&, const ClusterMap&);