diff options
author | Alan Conway <aconway@apache.org> | 2008-11-05 17:09:33 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2008-11-05 17:09:33 +0000 |
commit | 8ad76093e682ee735314a6768709b77a09d152ec (patch) | |
tree | 820c8d0055018b1b675fb018d8516da3363e716a /cpp/src/qpid/cluster/Connection.h | |
parent | 7f272c99e485eaa8eb38ac9b28d82637aeb4dbbc (diff) | |
download | qpid-python-8ad76093e682ee735314a6768709b77a09d152ec.tar.gz |
Cluster: clean up connections when a member leaves the cluster.
Fixed a memory error in cluster_test and some reporting errors in test scripts.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@711623 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/Connection.h')
-rw-r--r-- | cpp/src/qpid/cluster/Connection.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpp/src/qpid/cluster/Connection.h b/cpp/src/qpid/cluster/Connection.h index 2eafa90f32..06176bf81d 100644 --- a/cpp/src/qpid/cluster/Connection.h +++ b/cpp/src/qpid/cluster/Connection.h @@ -89,6 +89,9 @@ class Connection : void idleOut() { connection.idleOut(); } void idleIn() { connection.idleIn(); } + /** Called if the connectors member has left the cluster */ + void left(); + // ConnectionCodec methods size_t decode(const char* buffer, size_t size); |