From 2e437e1569009d8e8ed3ed896d751994e2e85d74 Mon Sep 17 00:00:00 2001 From: Kim van der Riet Date: Fri, 20 Jul 2012 12:55:20 +0000 Subject: QPID-3858: WIP: Created many async operation classes for each op instead of a single class with op codes. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1363759 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/storePerftools/asyncPerf/QueueAsyncContext.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'cpp/src/tests/storePerftools/asyncPerf/QueueAsyncContext.h') diff --git a/cpp/src/tests/storePerftools/asyncPerf/QueueAsyncContext.h b/cpp/src/tests/storePerftools/asyncPerf/QueueAsyncContext.h index e3e87b8ad8..4e3d9fe2db 100644 --- a/cpp/src/tests/storePerftools/asyncPerf/QueueAsyncContext.h +++ b/cpp/src/tests/storePerftools/asyncPerf/QueueAsyncContext.h @@ -49,18 +49,14 @@ class QueueAsyncContext: public qpid::broker::BrokerAsyncContext public: QueueAsyncContext(boost::shared_ptr q, qpid::broker::TxnHandle& th, - const qpid::asyncStore::AsyncOperation::opCode op, qpid::broker::AsyncResultCallback rcb, qpid::broker::AsyncResultQueue* const arq); QueueAsyncContext(boost::shared_ptr q, boost::intrusive_ptr msg, qpid::broker::TxnHandle& th, - const qpid::asyncStore::AsyncOperation::opCode op, qpid::broker::AsyncResultCallback rcb, qpid::broker::AsyncResultQueue* const arq); virtual ~QueueAsyncContext(); - qpid::asyncStore::AsyncOperation::opCode getOpCode() const; - const char* getOpStr() const; boost::shared_ptr getQueue() const; boost::intrusive_ptr getMessage() const; qpid::broker::TxnHandle getTxnHandle() const; @@ -72,8 +68,7 @@ public: private: boost::shared_ptr m_q; boost::intrusive_ptr m_msg; - qpid::broker::TxnHandle m_th; - const qpid::asyncStore::AsyncOperation::opCode m_op; + qpid::broker::TxnHandle m_th; // TODO: get rid of this qpid::broker::AsyncResultCallback m_rcb; qpid::broker::AsyncResultQueue* const m_arq; }; -- cgit v1.2.1