summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/AsyncStore.h
diff options
context:
space:
mode:
authorKim van der Riet <kpvdr@apache.org>2012-07-20 12:55:20 +0000
committerKim van der Riet <kpvdr@apache.org>2012-07-20 12:55:20 +0000
commit2e437e1569009d8e8ed3ed896d751994e2e85d74 (patch)
tree28459e48638bfcd3a7e565c37165b3fab714d484 /cpp/src/qpid/broker/AsyncStore.h
parentc94c9b5333c06c03deb6a6dcb1a91ecdf111b481 (diff)
downloadqpid-python-2e437e1569009d8e8ed3ed896d751994e2e85d74.tar.gz
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
Diffstat (limited to 'cpp/src/qpid/broker/AsyncStore.h')
-rw-r--r--cpp/src/qpid/broker/AsyncStore.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/qpid/broker/AsyncStore.h b/cpp/src/qpid/broker/AsyncStore.h
index 7bb6175862..1c8f4b0737 100644
--- a/cpp/src/qpid/broker/AsyncStore.h
+++ b/cpp/src/qpid/broker/AsyncStore.h
@@ -46,6 +46,10 @@ public:
virtual ~BrokerAsyncContext() {}
virtual AsyncResultQueue* getAsyncResultQueue() const = 0;
virtual void invokeCallback(const AsyncResultHandle* const) const = 0;
+ void setOpStr(const char* opStr) { m_opStr = opStr; }
+ const char* getOpStr() const { return m_opStr; }
+private:
+ const char* m_opStr;
};
class DataSource {
@@ -83,6 +87,7 @@ public:
boost::shared_ptr<BrokerAsyncContext>) = 0;
virtual void submitAbort(TxnHandle&,
boost::shared_ptr<BrokerAsyncContext>) = 0;
+ void testOp() const {}
};
// Subclassed by store: