From e861284318186f8d9cd64a7ddcc28b8d20b98721 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Fri, 19 Jan 2007 21:33:27 +0000 Subject: Last big refactoring for 0-9 framing. Still need additional tests & debugging but the overall structure is all in place. * configure.ac: Added -Wno_virtual_overload warning * ChannelTest.cpp, MessageBuilderTest.cpp: Fixed virtual overload warnings. * ChannelAdapter.cpp: Common base for client/broker adapters. Creates invocation context, handles request/resposne IDs. * CppGenerator.java: - Proxies send methods using MethodContext. * Various .h files: removed unnecessary #includes, added to requred .cpp files. * ConnectionContext: renamed from SessionContext. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@497963 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/lib/client/Connection.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'cpp/lib/client/Connection.cpp') diff --git a/cpp/lib/client/Connection.cpp b/cpp/lib/client/Connection.cpp index dd1e372095..1ae317db62 100644 --- a/cpp/lib/client/Connection.cpp +++ b/cpp/lib/client/Connection.cpp @@ -184,6 +184,16 @@ void Connection::handleFrame(AMQFrame* frame){ } } +void Connection::handleRequest(AMQRequestBody::shared_ptr body) { + // FIXME aconway 2007-01-19: request/response handling. + handleMethod(body); +} + +void Connection::handleResponse(AMQResponseBody::shared_ptr body) { + // FIXME aconway 2007-01-19: request/response handling. + handleMethod(body); +} + void Connection::handleMethod(AMQMethodBody::shared_ptr body){ //connection.close, basic.deliver, basic.return or a response to a synchronous request if(responses.isWaiting()){ -- cgit v1.2.1