summaryrefslogtreecommitdiff
path: root/qpid/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
commitd89955fa13d7356209713d28b14243392acde8c5 (patch)
treef7fe3ec45908672be81494804ede987846b30c49 /qpid/cpp/lib/broker/MessageStore.h
parent454d71a6a004f42e3137db5351ece5a78781b277 (diff)
downloadqpid-python-d89955fa13d7356209713d28b14243392acde8c5.tar.gz
Added prepared() method to MessageStore interface.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@486555 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/lib/broker/MessageStore.h')
-rw-r--r--qpid/cpp/lib/broker/MessageStore.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/qpid/cpp/lib/broker/MessageStore.h b/qpid/cpp/lib/broker/MessageStore.h
index acbff82c35..938f807a67 100644
--- a/qpid/cpp/lib/broker/MessageStore.h
+++ b/qpid/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.
*/