From a2f603a03b5a6451139d4fcb22fd6e34f55c11e5 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Fri, 12 Jan 2007 18:24:13 +0000 Subject: Use amqp 0-9 request/response framing in broker and client. Updated: framing, client, broker, generated code. The new request/response data (request-id etc.) is not yet being used, we are simply running the old Basic protocol over request/response frames. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@495679 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/lib/broker/SessionHandlerImpl.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cpp/lib/broker/SessionHandlerImpl.cpp') diff --git a/cpp/lib/broker/SessionHandlerImpl.cpp b/cpp/lib/broker/SessionHandlerImpl.cpp index d0971c4fae..3110c7ca3d 100644 --- a/cpp/lib/broker/SessionHandlerImpl.cpp +++ b/cpp/lib/broker/SessionHandlerImpl.cpp @@ -95,7 +95,9 @@ void SessionHandlerImpl::received(qpid::framing::AMQFrame* frame){ switch(body->type()) { - case METHOD_BODY: + case REQUEST_BODY: + case RESPONSE_BODY: + case METHOD_BODY: method = dynamic_pointer_cast(body); try{ method->invoke(*this, channel); -- cgit v1.2.1