diff options
| author | Alan Conway <aconway@apache.org> | 2008-12-11 22:50:02 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2008-12-11 22:50:02 +0000 |
| commit | e1d0293e7944c73995b52e2352d60ae8ba9ebc3d (patch) | |
| tree | 2b14f861d8b6c46776cb00e7d1925343b740c88b /cpp/src/qpid/cluster/Connection.cpp | |
| parent | cc781622299a4de5af2fdde6bfc1e2eb42e1623a (diff) | |
| download | qpid-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.cpp | 4 |
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; } |
