summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/TxnAsyncContext.cpp
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/TxnAsyncContext.cpp
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/TxnAsyncContext.cpp')
-rw-r--r--cpp/src/qpid/broker/TxnAsyncContext.cpp26
1 files changed, 2 insertions, 24 deletions
diff --git a/cpp/src/qpid/broker/TxnAsyncContext.cpp b/cpp/src/qpid/broker/TxnAsyncContext.cpp
index c3d4342993..63e2de2b41 100644
--- a/cpp/src/qpid/broker/TxnAsyncContext.cpp
+++ b/cpp/src/qpid/broker/TxnAsyncContext.cpp
@@ -27,13 +27,9 @@ namespace qpid {
namespace broker {
TxnAsyncContext::TxnAsyncContext(TxnBuffer* const tb,
- TxnHandle& th,
- const qpid::asyncStore::AsyncOperation::opCode op,
- qpid::broker::AsyncResultCallback rcb,
- qpid::broker::AsyncResultQueue* const arq):
+ AsyncResultCallback rcb,
+ AsyncResultQueue* const arq):
m_tb(tb),
- m_th(th),
- m_op(op),
m_rcb(rcb),
m_arq(arq)
{}
@@ -47,24 +43,6 @@ TxnAsyncContext::getTxnBuffer() const
return m_tb;
}
-qpid::asyncStore::AsyncOperation::opCode
-TxnAsyncContext::getOpCode() const
-{
- return m_op;
-}
-
-const char*
-TxnAsyncContext::getOpStr() const
-{
- return qpid::asyncStore::AsyncOperation::getOpStr(m_op);
-}
-
-TxnHandle&
-TxnAsyncContext::getTransactionContext() const
-{
- return m_th;
-}
-
AsyncResultQueue*
TxnAsyncContext::getAsyncResultQueue() const
{