summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/FailoverExchange.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2010-02-02 15:47:41 +0000
committerAlan Conway <aconway@apache.org>2010-02-02 15:47:41 +0000
commit3a75d755f87a495ae02bdf69af6723c62584b190 (patch)
treee743dad1695c753465aefb55c12d0a162976968d /cpp/src/qpid/cluster/FailoverExchange.h
parent21e39f778986321e7477f26b24f949fb798b58b4 (diff)
downloadqpid-python-3a75d755f87a495ae02bdf69af6723c62584b190.tar.gz
Cluster: fix update of failover exchange.
During update the cluster was sending an extra update to the failover exchange. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@905676 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/FailoverExchange.h')
-rw-r--r--cpp/src/qpid/cluster/FailoverExchange.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/src/qpid/cluster/FailoverExchange.h b/cpp/src/qpid/cluster/FailoverExchange.h
index 738cd2a602..7eb9ea8c3a 100644
--- a/cpp/src/qpid/cluster/FailoverExchange.h
+++ b/cpp/src/qpid/cluster/FailoverExchange.h
@@ -41,8 +41,11 @@ class FailoverExchange : public broker::Exchange
static const std::string TYPE_NAME;
FailoverExchange(management::Manageable* parent);
-
+
+ /** Set the URLs but don't send an update.*/
void setUrls(const std::vector<Url>&);
+ /** Set the URLs and send an update.*/
+ void updateUrls(const std::vector<Url>&);
// Exchange overrides
std::string getType() const;