From 50ed4bea1348e2a8f7e2df82cb3148798862011c Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Mon, 23 Aug 2010 21:04:33 +0000 Subject: Check for and abort invalid catchup connections. Detect attempt to make a catch-up connection while we are not expecting an update. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@988312 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/cluster/Cluster.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cpp/src/qpid/cluster/Cluster.h') diff --git a/cpp/src/qpid/cluster/Cluster.h b/cpp/src/qpid/cluster/Cluster.h index 1f8fd447a3..c046874f1c 100644 --- a/cpp/src/qpid/cluster/Cluster.h +++ b/cpp/src/qpid/cluster/Cluster.h @@ -104,7 +104,9 @@ class Cluster : private Cpg::Handler, public management::Manageable { void updateInClosed(); void updateInDone(const ClusterMap&); void updateInRetracted(); - + // True if we are expecting to receive catch-up connections. + bool isExpectingUpdate(); + MemberId getId() const; broker::Broker& getBroker() const; Multicaster& getMulticast() { return mcast; } -- cgit v1.2.1