diff options
author | Kim van der Riet <kpvdr@apache.org> | 2012-07-20 12:55:20 +0000 |
---|---|---|
committer | Kim van der Riet <kpvdr@apache.org> | 2012-07-20 12:55:20 +0000 |
commit | 2e437e1569009d8e8ed3ed896d751994e2e85d74 (patch) | |
tree | 28459e48638bfcd3a7e565c37165b3fab714d484 /cpp/src/qpid/broker/AsyncStore.h | |
parent | c94c9b5333c06c03deb6a6dcb1a91ecdf111b481 (diff) | |
download | qpid-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.h | 5 |
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: |