diff options
author | Alan Conway <aconway@apache.org> | 2008-12-02 20:41:49 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2008-12-02 20:41:49 +0000 |
commit | 7cdb9a9ab688988e596d9fce116a0998decd0972 (patch) | |
tree | aef9d6d0bc837b2eb0116e863c8bc89ed8f45021 /cpp/src/qpid/cluster/DumpClient.cpp | |
parent | 0fa4afae5e690b1cf147ebbe60641b448fcb5c31 (diff) | |
download | qpid-python-7cdb9a9ab688988e596d9fce116a0998decd0972.tar.gz |
Cluster: handle CPG flow-control conditions.
PollableQueue: allow dispatch functions to refuse dispatch.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@722614 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/DumpClient.cpp')
-rw-r--r-- | cpp/src/qpid/cluster/DumpClient.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/cluster/DumpClient.cpp b/cpp/src/qpid/cluster/DumpClient.cpp index 3a4f217721..3f3212470d 100644 --- a/cpp/src/qpid/cluster/DumpClient.cpp +++ b/cpp/src/qpid/cluster/DumpClient.cpp @@ -85,11 +85,11 @@ void send(client::AsyncSession& s, const AMQBody& body) { // TODO aconway 2008-09-24: optimization: dump connections/sessions in parallel. -DumpClient::DumpClient(const MemberId& from, const MemberId& to, const Url& url, +DumpClient::DumpClient(const MemberId& dumper, const MemberId& dumpee, const Url& url, broker::Broker& broker, const ClusterMap& m, const Cluster::Connections& cons, const boost::function<void()>& ok, const boost::function<void(const std::exception&)>& fail) - : dumperId(to), dumpeeId(from), dumpeeUrl(url), dumperBroker(broker), map(m), connections(cons), + : dumperId(dumper), dumpeeId(dumpee), dumpeeUrl(url), dumperBroker(broker), map(m), connections(cons), connection(catchUpConnection()), shadowConnection(catchUpConnection()), done(ok), failed(fail) { |