summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/MessageStore.h
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2007-05-17 11:03:55 +0000
committerGordon Sim <gsim@apache.org>2007-05-17 11:03:55 +0000
commit9a6c0d41b19744c8e4dc4711d13a5a0afa2f7ed2 (patch)
tree539a8102197fa119c7efb77056841932e2eb5c1a /cpp/src/qpid/broker/MessageStore.h
parentdecfd77364e211bc8f8784e15f54e06a79e16675 (diff)
downloadqpid-python-9a6c0d41b19744c8e4dc4711d13a5a0afa2f7ed2.tar.gz
Changes to support durable exchanges.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@538872 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/MessageStore.h')
-rw-r--r--cpp/src/qpid/broker/MessageStore.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/MessageStore.h b/cpp/src/qpid/broker/MessageStore.h
index 1d9ee86e48..1c02f94727 100644
--- a/cpp/src/qpid/broker/MessageStore.h
+++ b/cpp/src/qpid/broker/MessageStore.h
@@ -56,9 +56,21 @@ public:
virtual void destroy(const PersistableExchange& exchange) = 0;
/**
+ * Record a binding
+ */
+ virtual void bind(const PersistableExchange& exchange, const PersistableQueue& queue,
+ const std::string& key, const framing::FieldTable& args) = 0;
+
+ /**
+ * Forget a binding
+ */
+ virtual void unbind(const PersistableExchange& exchange, const PersistableQueue& queue,
+ const std::string& key, const framing::FieldTable& args) = 0;
+
+ /**
* Request recovery of queue and message state from store
*/
- virtual void recover(RecoveryManager& queues) = 0;
+ virtual void recover(RecoveryManager& recoverer) = 0;
/**
* Stores a messages before it has been enqueued