From f9f848394de0662248cf62d4ec5e4818949403b2 Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 30 Jan 2007 20:07:41 +0000 Subject: Andrew Stitcher 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 --- cpp/lib/client/Connection.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'cpp/lib/client/Connection.cpp') 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(); -- cgit v1.2.1