summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2007-05-30 07:18:04 +0000
committerGordon Sim <gsim@apache.org>2007-05-30 07:18:04 +0000
commit22ca374f2fceea161acc4e35ebc13871794600c6 (patch)
treeec0f15685460c32521c95e6278dac7f354f2d40e /cpp/src
parent34bc0c770d837fb29eaa8eb9d3ea6028f277db6c (diff)
downloadqpid-python-22ca374f2fceea161acc4e35ebc13871794600c6.tar.gz
Include new dtx classes in generated code.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@542768 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rwxr-xr-xcpp/src/generate.sh2
-rw-r--r--cpp/src/qpid/broker/DtxHandlerImpl.h7
2 files changed, 3 insertions, 6 deletions
diff --git a/cpp/src/generate.sh b/cpp/src/generate.sh
index 8614481ad0..40bf3373d6 100755
--- a/cpp/src/generate.sh
+++ b/cpp/src/generate.sh
@@ -7,7 +7,7 @@ set -e
gentools_dir="$srcdir/../gentools"
specs_dir="$srcdir/../../specs"
-specs="$specs_dir/amqp.0-9.xml $specs_dir/amqp-errata.0-9.xml"
+specs="$specs_dir/amqp.0-9.xml $specs_dir/amqp-errata.0-9.xml $specs_dir/amqp-dtx-preview.xml"
test -z "$JAVA" && JAVA=java ;
test -z "$JAVAC" && JAVAC=javac ;
diff --git a/cpp/src/qpid/broker/DtxHandlerImpl.h b/cpp/src/qpid/broker/DtxHandlerImpl.h
index 368ffddbab..f8669bc2b9 100644
--- a/cpp/src/qpid/broker/DtxHandlerImpl.h
+++ b/cpp/src/qpid/broker/DtxHandlerImpl.h
@@ -32,8 +32,8 @@ class DtxDemarcationHandler{};
class DtxHandlerImpl
: public CoreRefs,
- public /*framing::AMQP_ServerOperations::*/DtxCoordinationHandler,
- public /*framing::AMQP_ServerOperations::*/DtxDemarcationHandler
+ public framing::AMQP_ServerOperations::DtxCoordinationHandler,
+ public framing::AMQP_ServerOperations::DtxDemarcationHandler
{
public:
DtxHandlerImpl(CoreRefs& parent);
@@ -61,9 +61,6 @@ public:
bool startscan,
u_int32_t endscan );
- void recoverOk(const framing::MethodContext& context,
- const framing::FieldTable& xids );
-
void rollback(const framing::MethodContext& context,
u_int16_t ticket,
const std::string& xid );