summaryrefslogtreecommitdiff
path: root/cpp/lib/client/Connection.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-01-18 06:27:50 +0000
committerAlan Conway <aconway@apache.org>2007-01-18 06:27:50 +0000
commit9e8a7c77a94a92c6cf92cf60be508817f0778040 (patch)
tree0ff1882596aae1da3fd6bd6c2b4e13a3b9ae5de7 /cpp/lib/client/Connection.cpp
parent762cba1e7db15cb3c9e987a9edcbf3106c7244cb (diff)
downloadqpid-python-9e8a7c77a94a92c6cf92cf60be508817f0778040.tar.gz
There are a ton of FIXMES and request/response IDs are not yet working fully
but all tests are passing. * broker::Broker: Removed requester/responder from broker. * framing::BodyHandler: added Requester/Responder to BodyHandler, becomes the base class for channel adapters in broker and client. * broker::BrokerAdapter: Inherit BodyHandler, wraps a broker::Channel. Hide private *HandlerImpl detail classes in BodyHandler.cpp. * broker::Connection: Requester/Responder/Adapter now per-channel. Connection channel map replaced with adapter map of BrokerAdapters. handle* functions moved to BrokerAdapter. All methods now handled by a BrokerAdapter for the relevant channel. ChannelHandlerImpl is repsonsible for checking that - No method on a non-0 channel is processed before open() - Channel 0 methods only happen on channel 0 and similar for non-zero methods Checks are not yet complete (see FIXMES) * client::ResponseHandler: fix for client hang if broker crashs. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@497319 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/lib/client/Connection.cpp')
-rw-r--r--cpp/lib/client/Connection.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/lib/client/Connection.cpp b/cpp/lib/client/Connection.cpp
index 10a0b50aad..dd1e372095 100644
--- a/cpp/lib/client/Connection.cpp
+++ b/cpp/lib/client/Connection.cpp
@@ -253,4 +253,5 @@ void Connection::shutdown(){
for(iterator i = channels.begin(); i != channels.end(); i++){
i->second->stop();
}
+ responses.signalResponse(AMQMethodBody::shared_ptr());
}