diff options
author | Kim van der Riet <kpvdr@apache.org> | 2012-06-21 12:09:00 +0000 |
---|---|---|
committer | Kim van der Riet <kpvdr@apache.org> | 2012-06-21 12:09:00 +0000 |
commit | b95f9427ede4a2045ac6424a6341de9185a13602 (patch) | |
tree | ef1950c1d03961fe9a08a2bfdb84355c139d57e4 /cpp/src/tests/storePerftools/asyncPerf/QueueAsyncContext.h | |
parent | 5083cef28cd7d1f594a7632ffec109567f5a3b2b (diff) | |
download | qpid-python-b95f9427ede4a2045ac6424a6341de9185a13602.tar.gz |
QPID-3858: WIP: New classes for transactional consumption of messages
git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1352509 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/storePerftools/asyncPerf/QueueAsyncContext.h')
-rw-r--r-- | cpp/src/tests/storePerftools/asyncPerf/QueueAsyncContext.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/cpp/src/tests/storePerftools/asyncPerf/QueueAsyncContext.h b/cpp/src/tests/storePerftools/asyncPerf/QueueAsyncContext.h index b4d16fe615..112a5ab1dd 100644 --- a/cpp/src/tests/storePerftools/asyncPerf/QueueAsyncContext.h +++ b/cpp/src/tests/storePerftools/asyncPerf/QueueAsyncContext.h @@ -36,19 +36,19 @@ namespace tests { namespace storePerftools { namespace asyncPerf { -class SimplePersistableMessage; -class SimplePersistableQueue; +class SimpleMessage; +class SimpleQueue; class QueueAsyncContext: public qpid::broker::BrokerAsyncContext { public: - QueueAsyncContext(boost::shared_ptr<SimplePersistableQueue> q, + QueueAsyncContext(boost::shared_ptr<SimpleQueue> q, qpid::broker::TxnHandle& th, const qpid::asyncStore::AsyncOperation::opCode op, qpid::broker::AsyncResultCallback rcb, qpid::broker::AsyncResultQueue* const arq); - QueueAsyncContext(boost::shared_ptr<SimplePersistableQueue> q, - boost::intrusive_ptr<SimplePersistableMessage> msg, + QueueAsyncContext(boost::shared_ptr<SimpleQueue> q, + boost::intrusive_ptr<SimpleMessage> msg, qpid::broker::TxnHandle& th, const qpid::asyncStore::AsyncOperation::opCode op, qpid::broker::AsyncResultCallback rcb, @@ -56,8 +56,8 @@ public: virtual ~QueueAsyncContext(); qpid::asyncStore::AsyncOperation::opCode getOpCode() const; const char* getOpStr() const; - boost::shared_ptr<SimplePersistableQueue> getQueue() const; - boost::intrusive_ptr<SimplePersistableMessage> getMessage() const; + boost::shared_ptr<SimpleQueue> getQueue() const; + boost::intrusive_ptr<SimpleMessage> getMessage() const; qpid::broker::TxnHandle getTxnHandle() const; qpid::broker::AsyncResultQueue* getAsyncResultQueue() const; qpid::broker::AsyncResultCallback getAsyncResultCallback() const; @@ -65,8 +65,8 @@ public: void destroy(); private: - boost::shared_ptr<SimplePersistableQueue> m_q; - boost::intrusive_ptr<SimplePersistableMessage> m_msg; + boost::shared_ptr<SimpleQueue> m_q; + boost::intrusive_ptr<SimpleMessage> m_msg; qpid::broker::TxnHandle m_th; const qpid::asyncStore::AsyncOperation::opCode m_op; qpid::broker::AsyncResultCallback m_rcb; |