summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/Connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/cluster/Connection.h')
-rw-r--r--cpp/src/qpid/cluster/Connection.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/src/qpid/cluster/Connection.h b/cpp/src/qpid/cluster/Connection.h
index df3c035c8a..7d92987e01 100644
--- a/cpp/src/qpid/cluster/Connection.h
+++ b/cpp/src/qpid/cluster/Connection.h
@@ -69,6 +69,8 @@ class Connection :
/** True if the connection is in "catch-up" mode: building initial broker state. */
bool isCatchUp() const { return catchUp; }
+ bool isDump() const { return self.getPointer() == 0; }
+
Cluster& getCluster() { return cluster; }
// ConnectionInputHandler methods
@@ -98,7 +100,7 @@ class Connection :
void shadowReady(uint64_t memberId, uint64_t connectionId);
- void dumpComplete();
+ void membership(const framing::FieldTable&, const framing::FieldTable&);
private: