summaryrefslogtreecommitdiff
path: root/qpid/cpp/src
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
commitefdbf95bc0784f5408c320a7f1e87154646e41c6 (patch)
tree32c25afa4e8658244ad9ea58dc4baa5da3f5442e /qpid/cpp/src
parent2d5ec7dce73cf2d0290fc6b68bc66f0135520ba0 (diff)
downloadqpid-python-efdbf95bc0784f5408c320a7f1e87154646e41c6.tar.gz
Removed dead code - cluster::Connection::left()
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@900860 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src')
-rw-r--r--qpid/cpp/src/qpid/cluster/Connection.cpp6
-rw-r--r--qpid/cpp/src/qpid/cluster/Connection.h3
2 files changed, 0 insertions, 9 deletions
diff --git a/qpid/cpp/src/qpid/cluster/Connection.cpp b/qpid/cpp/src/qpid/cluster/Connection.cpp
index ea01dd6949..89700c2d52 100644
--- a/qpid/cpp/src/qpid/cluster/Connection.cpp
+++ b/qpid/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/qpid/cpp/src/qpid/cluster/Connection.h b/qpid/cpp/src/qpid/cluster/Connection.h
index f918187079..f593aeb652 100644
--- a/qpid/cpp/src/qpid/cluster/Connection.h
+++ b/qpid/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);