diff options
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: |