From aa2cd60dd1a77bfe34dc8bc71a609eb263d260f5 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Mon, 8 Dec 2008 17:16:37 +0000 Subject: Cluster: reduced scope of mcast locks. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@724413 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/cluster/Cluster.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'cpp/src/qpid/cluster/Cluster.h') diff --git a/cpp/src/qpid/cluster/Cluster.h b/cpp/src/qpid/cluster/Cluster.h index 14df4db905..2ab2da6fa8 100644 --- a/cpp/src/qpid/cluster/Cluster.h +++ b/cpp/src/qpid/cluster/Cluster.h @@ -79,7 +79,6 @@ class Cluster : private Cpg::Handler, public management::Manageable { // Send to the cluster void mcastControl(const framing::AMQBody& controlBody, const ConnectionId&, uint32_t id); void mcastBuffer(const char*, size_t, const ConnectionId&, uint32_t id); - void mcast(const Event& e); // URLs of current cluster members. std::vector getUrls() const; @@ -110,11 +109,9 @@ class Cluster : private Cpg::Handler, public management::Manageable { // The parameter makes it hard to forget since you have to have an instance of // a Lock to call the unlocked functions. - // Unlocked versions of public functions - void mcastControl(const framing::AMQBody& controlBody, const ConnectionId&, uint32_t, Lock&); - void mcastControl(const framing::AMQBody& controlBody, Lock&); - void mcastBuffer(const char*, size_t, const ConnectionId&, uint32_t id, Lock&); - void mcast(const Event& e, Lock&); + void mcastControl(const framing::AMQBody& controlBody); + void mcast(const Event& e); + void leave(Lock&); std::vector getUrls(Lock&) const; -- cgit v1.2.1