diff options
author | Kim van der Riet <kpvdr@apache.org> | 2012-06-25 19:11:55 +0000 |
---|---|---|
committer | Kim van der Riet <kpvdr@apache.org> | 2012-06-25 19:11:55 +0000 |
commit | cbd4f9c22974db5f53b42a4326486ec8325b79cc (patch) | |
tree | 95986a4f10104ea2b9cc79c7463d0bc9ab451bcf /cpp/src/tests/storePerftools/asyncPerf/SimpleQueue.h | |
parent | b95f9427ede4a2045ac6424a6341de9185a13602 (diff) | |
download | qpid-python-cbd4f9c22974db5f53b42a4326486ec8325b79cc.tar.gz |
WIP - transactional consume path completed, still some testing to be done.
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1353703 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/storePerftools/asyncPerf/SimpleQueue.h')
-rw-r--r-- | cpp/src/tests/storePerftools/asyncPerf/SimpleQueue.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/src/tests/storePerftools/asyncPerf/SimpleQueue.h b/cpp/src/tests/storePerftools/asyncPerf/SimpleQueue.h index bc9dda0d98..59e12b5c93 100644 --- a/cpp/src/tests/storePerftools/asyncPerf/SimpleQueue.h +++ b/cpp/src/tests/storePerftools/asyncPerf/SimpleQueue.h @@ -50,6 +50,7 @@ namespace tests { namespace storePerftools { namespace asyncPerf { +class MessageConsumer; class Messages; class SimpleMessage; class QueueAsyncContext; @@ -76,9 +77,11 @@ public: // --- Methods in msg handling path from qpid::Queue --- void deliver(boost::intrusive_ptr<SimpleMessage> msg); - bool dispatch(); // similar to qpid::broker::Queue::distpatch(Consumer&) but without Consumer param + bool dispatch(MessageConsumer& mc); + bool enqueue(QueuedMessage& qm); bool enqueue(qpid::broker::TxnHandle& th, QueuedMessage& qm); + bool dequeue(QueuedMessage& qm); bool dequeue(qpid::broker::TxnHandle& th, QueuedMessage& qm); void process(boost::intrusive_ptr<SimpleMessage> msg); |