diff options
author | Carl C. Trieloff <cctrieloff@apache.org> | 2007-01-09 15:04:57 +0000 |
---|---|---|
committer | Carl C. Trieloff <cctrieloff@apache.org> | 2007-01-09 15:04:57 +0000 |
commit | fd88a6ddb9bc813286089558a22732f03410b79c (patch) | |
tree | 9cb2055fd1152bcb6e7e14cbf3f4e50625bafc5b | |
parent | 7a65ac87c0fa28cab643207dd5a670bc8c4fef70 (diff) | |
download | qpid-python-fd88a6ddb9bc813286089558a22732f03410b79c.tar.gz |
Patch from Andrew, I will merge the solution that I am working on shortly, but
this patch should enable the branch to work till then
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@494427 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r-- | cpp/lib/common/framing/AMQFrame.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/lib/common/framing/AMQFrame.cpp b/cpp/lib/common/framing/AMQFrame.cpp index ca8bf41758..05900eeff2 100644 --- a/cpp/lib/common/framing/AMQFrame.cpp +++ b/cpp/lib/common/framing/AMQFrame.cpp @@ -26,7 +26,7 @@ using namespace qpid::framing; // This only works as a static as the version is currently fixed to 8.0 // TODO: When the class is version-aware this will need to change -AMQP_MethodVersionMap AMQFrame::versionMap(8,0); +AMQP_MethodVersionMap AMQFrame::versionMap(0,9); // AMQP version management change - kpvdr 2-11-17 // TODO: Make this class version-aware @@ -68,7 +68,7 @@ AMQBody::shared_ptr AMQFrame::createMethodBody(Buffer& buffer){ u_int16_t methodId = buffer.getShort(); // AMQP version management change - kpvdr 2006-11-16 // TODO: Make this class version-aware and link these hard-wired numbers to that version - AMQBody::shared_ptr body(versionMap.createMethodBody(classId, methodId, 8, 0)); + AMQBody::shared_ptr body(versionMap.createMethodBody(classId, methodId, 0, 9)); // Origianl stmt: // AMQBody::shared_ptr body(createAMQMethodBody(classId, methodId)); return body; |