From e1d0293e7944c73995b52e2352d60ae8ba9ebc3d Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Thu, 11 Dec 2008 22:50:02 +0000 Subject: cluster: refactor multicast concerns into separate Multicaster class with separate locking. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@725853 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/cluster/Connection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src/qpid/cluster/Connection.cpp') diff --git a/cpp/src/qpid/cluster/Connection.cpp b/cpp/src/qpid/cluster/Connection.cpp index a422164c81..f0d38bf299 100644 --- a/cpp/src/qpid/cluster/Connection.cpp +++ b/cpp/src/qpid/cluster/Connection.cpp @@ -163,7 +163,7 @@ void Connection::closed() { // closed and process any outstanding frames from the cluster // until self-delivery of deliver-close. output.setOutputHandler(discardHandler); - cluster.mcastControl(ClusterConnectionDeliverCloseBody(), self, ++mcastSeq); + cluster.getMulticast().mcastControl(ClusterConnectionDeliverCloseBody(), self); } } catch (const std::exception& e) { @@ -193,7 +193,7 @@ size_t Connection::decode(const char* buffer, size_t size) { } else { // Multicast local connections. assert(isLocal()); - cluster.mcastBuffer(buffer, size, self, ++mcastSeq); + cluster.getMulticast().mcastBuffer(buffer, size, self); } return size; } -- cgit v1.2.1