You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2010/01/19 18:37:20 UTC
svn commit: r900860 - in /qpid/trunk/qpid/cpp/src/qpid/cluster:
Connection.cpp Connection.h
Author: aconway
Date: Tue Jan 19 17:37:18 2010
New Revision: 900860
URL: http://svn.apache.org/viewvc?rev=900860&view=rev
Log:
Removed dead code - cluster::Connection::left()
Modified:
qpid/trunk/qpid/cpp/src/qpid/cluster/Connection.cpp
qpid/trunk/qpid/cpp/src/qpid/cluster/Connection.h
Modified: qpid/trunk/qpid/cpp/src/qpid/cluster/Connection.cpp
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/cluster/Connection.cpp?rev=900860&r1=900859&r2=900860&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/cluster/Connection.cpp (original)
+++ qpid/trunk/qpid/cpp/src/qpid/cluster/Connection.cpp Tue Jan 19 17:37:18 2010
@@ -223,12 +223,6 @@
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.
Modified: qpid/trunk/qpid/cpp/src/qpid/cluster/Connection.h
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/src/qpid/cluster/Connection.h?rev=900860&r1=900859&r2=900860&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/src/qpid/cluster/Connection.h (original)
+++ qpid/trunk/qpid/cpp/src/qpid/cluster/Connection.h Tue Jan 19 17:37:18 2010
@@ -98,9 +98,6 @@
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);
---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project: http://qpid.apache.org
Use/Interact: mailto:commits-subscribe@qpid.apache.org