summaryrefslogtreecommitdiff
path: root/cpp/lib/broker/SessionHandlerImpl.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-01-12 18:24:13 +0000
committerAlan Conway <aconway@apache.org>2007-01-12 18:24:13 +0000
commita2f603a03b5a6451139d4fcb22fd6e34f55c11e5 (patch)
tree82bb1d533568e3d40f060f00cf7d70474dffee2c /cpp/lib/broker/SessionHandlerImpl.cpp
parent482ff88ac8fcaf14207db6e23d3b9981365dfd62 (diff)
downloadqpid-python-a2f603a03b5a6451139d4fcb22fd6e34f55c11e5.tar.gz
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
Diffstat (limited to 'cpp/lib/broker/SessionHandlerImpl.cpp')
-rw-r--r--cpp/lib/broker/SessionHandlerImpl.cpp4
1 files changed, 3 insertions, 1 deletions
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<AMQMethodBody, AMQBody>(body);
try{
method->invoke(*this, channel);