From 786c13d1833f626bf47262dd16ea48c81ac3887f Mon Sep 17 00:00:00 2001 From: "Carl C. Trieloff" Date: Wed, 20 Dec 2006 22:29:38 +0000 Subject: Support for multi version, merge part 1. - can still refactor out dup use of version object in client and server opperations. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@489212 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/lib/broker/SessionHandlerImpl.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'cpp/lib/broker/SessionHandlerImpl.cpp') diff --git a/cpp/lib/broker/SessionHandlerImpl.cpp b/cpp/lib/broker/SessionHandlerImpl.cpp index bd6ca9dee9..9131060b81 100644 --- a/cpp/lib/broker/SessionHandlerImpl.cpp +++ b/cpp/lib/broker/SessionHandlerImpl.cpp @@ -131,7 +131,10 @@ void SessionHandlerImpl::initiated(qpid::framing::ProtocolInitiation* header){ if (client == NULL) { client = new qpid::framing::AMQP_ClientProxy(context, header->getMajor(), header->getMinor()); - + + + std::cout << "---------------" << this << std::endl; + //send connection start FieldTable properties; string mechanisms("PLAIN"); @@ -212,7 +215,9 @@ void SessionHandlerImpl::ConnectionHandlerImpl::closeOk(u_int16_t /*channel*/){ void SessionHandlerImpl::ChannelHandlerImpl::open(u_int16_t channel, const string& /*outOfBand*/){ - parent->channels[channel] = new Channel(parent->context, channel, parent->framemax, + + + parent->channels[channel] = new Channel(parent->client->getProtocolVersion() , parent->context, channel, parent->framemax, parent->queues->getStore(), parent->settings.stagingThreshold); parent->client->getChannel().openOk(channel); } -- cgit v1.2.1