blob: 092958a93b2457871d635fae1f943106d2bbd4e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#ifndef tests_storePerftools_asyncPerf_TransactionAsyncContext_h_
#define tests_storePerftools_asyncPerf_TransactionAsyncContext_h_
#include "MockTransactionContext.h"
#include "qpid/broker/BrokerContext.h"
namespace tests {
namespace storePerftools {
namespace asyncPerf {
class TransactionAsyncContext: public qpid::broker::BrokerContext {
public:
TransactionAsyncContext(MockTransactionContext* tc,
const qpid::asyncStore::AsyncOperation::opCode op);
virtual ~TransactionAsyncContext();
qpid::asyncStore::AsyncOperation::opCode getOpCode() const;
const char* getOpStr() const;
MockTransactionContext* getTransactionContext() const;
void destroy();
protected:
MockTransactionContext* m_tc;
const qpid::asyncStore::AsyncOperation::opCode m_op;
};
}}} // namespace tests::storePerftools::asyncPerf
#endif // tests_storePerftools_asyncPerf_TransactionAsyncContext_h_
|