From 3b4d08876f63637cd9ffb28988eb2ec9a9a7f30e Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Fri, 23 May 2008 21:23:07 +0000 Subject: Delete obsolete Channel class. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@659663 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/client/Connection.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'cpp/src/qpid/client/Connection.cpp') diff --git a/cpp/src/qpid/client/Connection.cpp b/cpp/src/qpid/client/Connection.cpp index 4089ad79ce..82d1eac8b4 100644 --- a/cpp/src/qpid/client/Connection.cpp +++ b/cpp/src/qpid/client/Connection.cpp @@ -20,7 +20,6 @@ */ #include "Connection.h" #include "ConnectionSettings.h" -#include "Channel.h" #include "Message.h" #include "SessionImpl.h" #include "qpid/log/Logger.h" @@ -73,13 +72,6 @@ void Connection::open(const ConnectionSettings& settings) max_frame_size = impl->getNegotiatedSettings().maxFrameSize; } -void Connection::openChannel(Channel& channel) -{ - if (!impl) - throw Exception(QPID_MSG("Connection has not yet been opened")); - channel.open(newSession(ASYNC)); -} - Session Connection::newSession(SynchronousMode sync, uint32_t detachedLifetime) { -- cgit v1.2.1