summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/Connection.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-12-11 22:50:02 +0000
committerAlan Conway <aconway@apache.org>2008-12-11 22:50:02 +0000
commite1d0293e7944c73995b52e2352d60ae8ba9ebc3d (patch)
tree2b14f861d8b6c46776cb00e7d1925343b740c88b /cpp/src/qpid/cluster/Connection.cpp
parentcc781622299a4de5af2fdde6bfc1e2eb42e1623a (diff)
downloadqpid-python-e1d0293e7944c73995b52e2352d60ae8ba9ebc3d.tar.gz
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
Diffstat (limited to 'cpp/src/qpid/cluster/Connection.cpp')
-rw-r--r--cpp/src/qpid/cluster/Connection.cpp4
1 files changed, 2 insertions, 2 deletions
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;
}