diff options
Diffstat (limited to 'cpp/src/qpid/broker/TxnAsyncContext.h')
| -rw-r--r-- | cpp/src/qpid/broker/TxnAsyncContext.h | 23 |
1 files changed, 17 insertions, 6 deletions
diff --git a/cpp/src/qpid/broker/TxnAsyncContext.h b/cpp/src/qpid/broker/TxnAsyncContext.h index 0c35b110a8..9c617238e8 100644 --- a/cpp/src/qpid/broker/TxnAsyncContext.h +++ b/cpp/src/qpid/broker/TxnAsyncContext.h @@ -29,17 +29,18 @@ #include "qpid/asyncStore/AsyncOperation.h" namespace qpid { -namespace asyncStore { -class AsyncOperation; -} +//namespace asyncStore { +//class AsyncOperation; +//} namespace broker { -class TxnHandle; +class AsyncResultHandle; +class AsyncResultQueue; +//class TxnHandle; typedef void (*AsyncResultCallback)(const AsyncResultHandle* const); -class TxnAsyncContext: public BrokerAsyncContext -{ +class TxnAsyncContext: public BrokerAsyncContext { public: TxnAsyncContext(TxnBuffer* const tb, AsyncResultCallback rcb, @@ -57,6 +58,16 @@ private: AsyncResultQueue* const m_arq; }; +class TpcTxnAsyncContext : public TxnAsyncContext { +public: + TpcTxnAsyncContext(TxnBuffer* const tb, + AsyncResultCallback rcb, + AsyncResultQueue* const arq) : + TxnAsyncContext(tb, rcb, arq) + {} + virtual ~TpcTxnAsyncContext() {} +}; + }} // namespace qpid::broker #endif // qpid_broker_TxnAsyncContext_h_ |
