diff options
author | Alan Conway <aconway@apache.org> | 2010-01-19 17:37:18 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2010-01-19 17:37:18 +0000 |
commit | 174d9fd857581d3304cdca40f0276f05fe6ffb91 (patch) | |
tree | c39639e99e3fe979bcd7aebb53b6320037197884 /cpp/src | |
parent | 1536ce288de7228869278baf795ff869aa255c85 (diff) | |
download | qpid-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/src')
-rw-r--r-- | cpp/src/qpid/cluster/Connection.cpp | 6 | ||||
-rw-r--r-- | cpp/src/qpid/cluster/Connection.h | 3 |
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); |