summaryrefslogtreecommitdiff
path: root/cpp/lib/client/Connection.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2007-01-30 20:07:41 +0000
committerAlan Conway <aconway@apache.org>2007-01-30 20:07:41 +0000
commitf9f848394de0662248cf62d4ec5e4818949403b2 (patch)
tree4f13105e2223b704d7850300116dcc56116acae2 /cpp/lib/client/Connection.cpp
parent98ccae7574a18f8d0a1f9e28e86ccfde4541c81f (diff)
downloadqpid-python-f9f848394de0662248cf62d4ec5e4818949403b2.tar.gz
Andrew Stitcher <astitcher@redhat.com>
r723@fuschia: andrew | 2007-01-12 00:35:16 +0000 Branch for my work on Qpid.0-9 r724@fuschia: andrew | 2007-01-12 00:59:28 +0000 Added in empty implementation of handler class for protocol Message class r768@fuschia: andrew | 2007-01-17 01:25:16 +0000 * Added Test for new MessageHandlerImpl (but no actual tests yet) * Filled in lots of the blanks in the MessageHandlerImpl with code stolen from the BasicHandlerImpl r800@fuschia: andrew | 2007-01-17 17:34:13 +0000 Updated to latest upstream changes r840@fuschia: andrew | 2007-01-19 00:31:59 +0000 Fixed merge errors r841@fuschia: andrew | 2007-01-19 00:47:29 +0000 Another merge problem fixed r878@fuschia: andrew | 2007-01-24 11:27:48 +0000 Started work on the Message class handler implementation r976@fuschia: andrew | 2007-01-30 17:05:05 +0000 Working again after broker Message refactor r980@fuschia: andrew | 2007-01-30 18:39:18 +0000 Fix for extra parameter to transfer git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/qpid.0-9@501534 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/lib/client/Connection.cpp')
-rw-r--r--cpp/lib/client/Connection.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/cpp/lib/client/Connection.cpp b/cpp/lib/client/Connection.cpp
index bf6c44570d..78e340eb11 100644
--- a/cpp/lib/client/Connection.cpp
+++ b/cpp/lib/client/Connection.cpp
@@ -46,10 +46,11 @@ Connection::Connection(
bool _debug, u_int32_t _max_frame_size,
const framing::ProtocolVersion& _version
) : version(_version), max_frame_size(_max_frame_size),
- defaultConnector(version, debug, max_frame_size),
- connector(&defaultConnector),
+ defaultConnector(version, _debug, _max_frame_size),
isOpen(false), debug(_debug)
-{}
+{
+ setConnector(defaultConnector);
+}
Connection::~Connection(){
close();