diff options
| author | Alan Conway <aconway@apache.org> | 2007-09-18 19:43:29 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2007-09-18 19:43:29 +0000 |
| commit | 6aeb03f0f5ac7ede957995fc784367a30920c683 (patch) | |
| tree | 7fe35f0ce9fe6bf17dbd6416deb6069ef9c7b07c /cpp/src/qpid/broker/SessionHandler.cpp | |
| parent | 8b039e1ed4e4340917d7fd3d8202049e691ca6ec (diff) | |
| download | qpid-python-6aeb03f0f5ac7ede957995fc784367a30920c683.tar.gz | |
Refactor HandlerImpl to use Session rather than CoreRefs.
Remove most uses of ChannelAdapter in broker code.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@577027 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/SessionHandler.cpp')
| -rw-r--r-- | cpp/src/qpid/broker/SessionHandler.cpp | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/cpp/src/qpid/broker/SessionHandler.cpp b/cpp/src/qpid/broker/SessionHandler.cpp index e46f11d98c..d4f8c25892 100644 --- a/cpp/src/qpid/broker/SessionHandler.cpp +++ b/cpp/src/qpid/broker/SessionHandler.cpp @@ -29,18 +29,10 @@ namespace qpid { namespace broker { using namespace framing; -// FIXME aconway 2007-08-31: the SessionHandler should create its -// private proxy directly on the connections out handler. -// Session/channel methods should not go thru the other layers. -// Need to get rid of ChannelAdapter and allow proxies to be created -// directly on output handlers. -// -framing::AMQP_ClientProxy& SessionHandler::getProxy() { - return session->getProxy(); -} - SessionHandler::SessionHandler(Connection& c, ChannelId ch) - : InOutHandler(0, &c.getOutput()), connection(c), channel(ch), ignoring(false), channelHandler(*this) {} + : InOutHandler(0, &c.getOutput()), + connection(c), channel(ch), proxy(out), + ignoring(false), channelHandler(*this) {} SessionHandler::~SessionHandler() {} |
