diff options
author | Alan Conway <aconway@apache.org> | 2009-01-08 17:33:08 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2009-01-08 17:33:08 +0000 |
commit | 64bd79537e385a045b3c74de95ddd19f91163a26 (patch) | |
tree | 1f4ee85cfac2adca779be9042a5f8c71e67b08f9 /cpp/src/qpid/cluster/Multicaster.h | |
parent | e6ab393e6dfef3bf90b2552a94e8e00dd3b6bfa4 (diff) | |
download | qpid-python-64bd79537e385a045b3c74de95ddd19f91163a26.tar.gz |
cluster: handle multicast errors.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@732768 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/Multicaster.h')
-rw-r--r-- | cpp/src/qpid/cluster/Multicaster.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/qpid/cluster/Multicaster.h b/cpp/src/qpid/cluster/Multicaster.h index 8b306ce10e..a63bbc2180 100644 --- a/cpp/src/qpid/cluster/Multicaster.h +++ b/cpp/src/qpid/cluster/Multicaster.h @@ -46,7 +46,7 @@ class Multicaster { public: /** Starts in holding mode: connection data events are held, other events are mcast */ - Multicaster(Cpg& cpg_, const boost::shared_ptr<sys::Poller>& ); + Multicaster(Cpg& cpg_, const boost::shared_ptr<sys::Poller>&, boost::function<void()> onError ); void mcastControl(const framing::AMQBody& controlBody, const ConnectionId&); void mcastBuffer(const char*, size_t, const ConnectionId&); void mcast(const Event& e); @@ -60,6 +60,7 @@ class Multicaster void sendMcast(PollableEventQueue::Queue& ); sys::Mutex lock; + boost::function<void()> onError; Cpg& cpg; PollableEventQueue queue; bool holding; |