summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/Connection.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-05-23 21:23:07 +0000
committerAlan Conway <aconway@apache.org>2008-05-23 21:23:07 +0000
commit3b4d08876f63637cd9ffb28988eb2ec9a9a7f30e (patch)
tree11206920074aef9a5b9d794b6ed550f72d3a198d /cpp/src/qpid/client/Connection.cpp
parent52833097fb1737316c76822bf7e6dda31dec3433 (diff)
downloadqpid-python-3b4d08876f63637cd9ffb28988eb2ec9a9a7f30e.tar.gz
Delete obsolete Channel class.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@659663 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/Connection.cpp')
-rw-r--r--cpp/src/qpid/client/Connection.cpp8
1 files changed, 0 insertions, 8 deletions
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)
{