summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/UpdateClient.h
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2009-05-27 14:23:49 +0000
committerGordon Sim <gsim@apache.org>2009-05-27 14:23:49 +0000
commit8a1ff59c51e82a447037cfb9d8e23b1794ad2dcb (patch)
treef8f8f8ac68198a9c0a54036eb662c82b863ac4c2 /cpp/src/qpid/cluster/UpdateClient.h
parentcc950c29b060874322441853975a7340b608fc00 (diff)
downloadqpid-python-8a1ff59c51e82a447037cfb9d8e23b1794ad2dcb.tar.gz
QPID-1488: Ensure policy state (+ store state & mgmt stats) are accurate on newly joined nodes by informing
the queue of any logically enqueued messages that are currently acquired (but not accepted or released). QPID-1873: Ensure that the various properties of a queue (durability, exclusivity etc) are correctly replicated to new cluster members. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@779183 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/UpdateClient.h')
-rw-r--r--cpp/src/qpid/cluster/UpdateClient.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/src/qpid/cluster/UpdateClient.h b/cpp/src/qpid/cluster/UpdateClient.h
index 96e2479955..030566b52d 100644
--- a/cpp/src/qpid/cluster/UpdateClient.h
+++ b/cpp/src/qpid/cluster/UpdateClient.h
@@ -81,11 +81,13 @@ class UpdateClient : public sys::Runnable {
void updateUnacked(const broker::DeliveryRecord&);
private:
- void updateQueue(const boost::shared_ptr<broker::Queue>&);
+ void updateQueue(client::AsyncSession&, const boost::shared_ptr<broker::Queue>&);
+ void updateNonExclusiveQueue(const boost::shared_ptr<broker::Queue>&);
+ void updateExclusiveQueue(const boost::shared_ptr<broker::Queue>&);
void updateExchange(const boost::shared_ptr<broker::Exchange>&);
void updateMessage(const broker::QueuedMessage&);
void updateMessageTo(const broker::QueuedMessage&, const std::string& queue, client::Session s);
- void updateBinding(const std::string& queue, const broker::QueueBinding& binding);
+ void updateBinding(client::AsyncSession&, const std::string& queue, const broker::QueueBinding& binding);
void updateConnection(const boost::intrusive_ptr<Connection>& connection);
void updateSession(broker::SessionHandler& s);
void updateTxState(broker::SemanticState& s);