summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-01-19 17:37:18 +0000
committerAlan Conway <aconway@apache.org>2010-01-19 17:37:18 +0000
commit174d9fd857581d3304cdca40f0276f05fe6ffb91 (patch)
treec39639e99e3fe979bcd7aebb53b6320037197884 /cpp
parent1536ce288de7228869278baf795ff869aa255c85 (diff)
downloadqpid-python-174d9fd857581d3304cdca40f0276f05fe6ffb91.tar.gz
Removed dead code - cluster::Connection::left()
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@900860 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/qpid/cluster/Connection.cpp6
-rw-r--r--cpp/src/qpid/cluster/Connection.h3
2 files changed, 0 insertions, 9 deletions
diff --git a/cpp/src/qpid/cluster/Connection.cpp b/cpp/src/qpid/cluster/Connection.cpp
index ea01dd6949..89700c2d52 100644
--- a/cpp/src/qpid/cluster/Connection.cpp
+++ b/cpp/src/qpid/cluster/Connection.cpp
@@ -223,12 +223,6 @@ void Connection::abort() {
cluster.erase(self);
}
-// Member of a shadow connection left the cluster.
-void Connection::left() {
- assert(isShadow());
- connection.closed();
-}
-
// ConnectoinCodec::decode receives read buffers from directly-connected clients.
size_t Connection::decode(const char* buffer, size_t size) {
if (catchUp) { // Handle catch-up locally.
diff --git a/cpp/src/qpid/cluster/Connection.h b/cpp/src/qpid/cluster/Connection.h
index f918187079..f593aeb652 100644
--- a/cpp/src/qpid/cluster/Connection.h
+++ b/cpp/src/qpid/cluster/Connection.h
@@ -98,9 +98,6 @@ class Connection :
void idleOut() { connection.idleOut(); }
void idleIn() { connection.idleIn(); }
- /** Called if the connectors member has left the cluster */
- void left();
-
// ConnectionCodec methods - called by IO layer with a read buffer.
size_t decode(const char* buffer, size_t size);