summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/cluster/SessionManager.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-01-29 14:48:59 +0000
committerAlan Conway <aconway@apache.org>2008-01-29 14:48:59 +0000
commit6b6dfc1709eace6db0c624676ad297e34fef4aa7 (patch)
treefb397c690916219439994edb19072ab5f6254a27 /cpp/src/qpid/cluster/SessionManager.cpp
parentff63c19a83d95fa8f0116424d609e61df9085500 (diff)
downloadqpid-python-6b6dfc1709eace6db0c624676ad297e34fef4aa7.tar.gz
Deleted unused classes, adjusted files that still mention them.
D src/qpid/framing/ChannelAdapter.cpp D src/qpid/framing/ChannelAdapter.h D src/qpid/framing/HandlerUpdater.h D src/tests/BrokerChannelTest.cpp D src/tests/MockChannel.h git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@616353 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/cluster/SessionManager.cpp')
-rw-r--r--cpp/src/qpid/cluster/SessionManager.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/cpp/src/qpid/cluster/SessionManager.cpp b/cpp/src/qpid/cluster/SessionManager.cpp
index 71f52507b8..68e0223a40 100644
--- a/cpp/src/qpid/cluster/SessionManager.cpp
+++ b/cpp/src/qpid/cluster/SessionManager.cpp
@@ -25,7 +25,6 @@
#include "qpid/framing/AMQP_ServerOperations.h"
#include "qpid/broker/BrokerAdapter.h"
#include "qpid/broker/Connection.h"
-#include "qpid/framing/ChannelAdapter.h"
#include <boost/utility/in_place_factory.hpp>
@@ -37,7 +36,7 @@ using namespace sys;
using namespace broker;
/** Handler to send frames direct to local broker (bypass correlation etc.) */
-struct SessionManager::BrokerHandler : public FrameHandler, private ChannelAdapter
+struct SessionManager::BrokerHandler : public FrameHandler
{
Connection connection;
SessionHandler sessionAdapter;
@@ -56,7 +55,7 @@ struct SessionManager::BrokerHandler : public FrameHandler, private ChannelAdapt
connection(0, broker),
sessionAdapter(connection, 0),
session(sessionAdapter, 1),
- adapter(session, static_cast<ChannelAdapter&>(*this)) {}
+ adapter(session, 0) {} // FIXME aconway 2008-01-29:
void handle(AMQFrame& frame) {
AMQMethodBody* body=dynamic_cast<AMQMethodBody*>(frame.getBody());