summaryrefslogtreecommitdiff
path: root/cpp/src/tests/storePerftools/asyncPerf/TxnAccept.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/tests/storePerftools/asyncPerf/TxnAccept.h')
-rw-r--r--cpp/src/tests/storePerftools/asyncPerf/TxnAccept.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/cpp/src/tests/storePerftools/asyncPerf/TxnAccept.h b/cpp/src/tests/storePerftools/asyncPerf/TxnAccept.h
index f164a4c965..6bc7ff9ccb 100644
--- a/cpp/src/tests/storePerftools/asyncPerf/TxnAccept.h
+++ b/cpp/src/tests/storePerftools/asyncPerf/TxnAccept.h
@@ -26,19 +26,26 @@
#include "qpid/broker/TxnOp.h"
+#include "boost/shared_ptr.hpp"
+#include <deque>
+
namespace tests {
namespace storePerftools {
namespace asyncPerf {
+class DeliveryRecord;
+
class TxnAccept: public qpid::broker::TxnOp {
public:
- TxnAccept();
+ TxnAccept(std::deque<boost::shared_ptr<DeliveryRecord> >& ops);
virtual ~TxnAccept();
// --- Interface TxnOp ---
bool prepare(qpid::broker::TxnHandle& th) throw();
void commit() throw();
void rollback() throw();
+private:
+ std::deque<boost::shared_ptr<DeliveryRecord> > m_ops;
};
}}} // namespace tests::storePerftools::asyncPerf