summaryrefslogtreecommitdiff
path: root/cpp/lib/broker/MessageStore.h
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2006-12-13 09:22:07 +0000
committerGordon Sim <gsim@apache.org>2006-12-13 09:22:07 +0000
commit39dd61bc66b531810160ef00de938846c27052c9 (patch)
tree17e773b91f7e5c98302a1e5d67fcc6398c67b2f0 /cpp/lib/broker/MessageStore.h
parenta775c87d5e2c5a6e1f8205541378ab3e1a0a8089 (diff)
downloadqpid-python-39dd61bc66b531810160ef00de938846c27052c9.tar.gz
Added prepared() method to MessageStore interface.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@486555 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/lib/broker/MessageStore.h')
-rw-r--r--cpp/lib/broker/MessageStore.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/lib/broker/MessageStore.h b/cpp/lib/broker/MessageStore.h
index acbff82c35..938f807a67 100644
--- a/cpp/lib/broker/MessageStore.h
+++ b/cpp/lib/broker/MessageStore.h
@@ -117,6 +117,11 @@ namespace qpid {
* place or null for 'local' transactions
*/
virtual void dequeue(TransactionContext* ctxt, Message* const msg, const Queue& queue, const std::string * const xid) = 0;
+
+ /**
+ * Treat all enqueue/dequeues where this xid was specified as being prepared.
+ */
+ virtual void prepared(const std::string * const xid) = 0;
/**
* Treat all enqueue/dequeues where this xid was specified as being committed.
*/