From e5a82bf72fb1035163ec3c6dfd97f8b248cd6dd8 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Fri, 31 Aug 2007 20:51:22 +0000 Subject: * Summary: - Moved BrokerChannel functionality into Session. - Moved ChannelHandler methods handling into SessionAdapter. - Updated all handlers to use session. (We're still using AMQP channel methods in SessionAdapter) Roles & responsibilities: Session: - represents an _open_ session, may be active or suspended. - ows all session state including handler chains. - attahced to SessionAdapter when active, not when suspended. SessionAdapter: - reprents the association of a channel with a session. - owned by Connection, kept in the session map. - channel open == SessionAdapter.getSessio() != 0 Anything that depends on attachment to a channel, connection or protocol should be in SessionAdpater. Anything that suvives a session suspend belongs in Session. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@571575 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/tests/BrokerChannelTest.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'qpid/cpp/src/tests/BrokerChannelTest.cpp') diff --git a/qpid/cpp/src/tests/BrokerChannelTest.cpp b/qpid/cpp/src/tests/BrokerChannelTest.cpp index 0787405eb7..e975ec1b12 100644 --- a/qpid/cpp/src/tests/BrokerChannelTest.cpp +++ b/qpid/cpp/src/tests/BrokerChannelTest.cpp @@ -18,6 +18,11 @@ * under the License. * */ + +// FIXME aconway 2007-08-30: Rewrite as a Session test. +// There is an issue with the tests use of DeliveryAdapter +// which is no longer exposed on Session (part of SemanticHandler.) +// #include "qpid/broker/BrokerChannel.h" #include "qpid/broker/BrokerQueue.h" #include "qpid/broker/FanOutExchange.h" -- cgit v1.2.1