diff options
author | Carl C. Trieloff <cctrieloff@apache.org> | 2006-12-20 22:29:38 +0000 |
---|---|---|
committer | Carl C. Trieloff <cctrieloff@apache.org> | 2006-12-20 22:29:38 +0000 |
commit | 786c13d1833f626bf47262dd16ea48c81ac3887f (patch) | |
tree | a24df1b5de4584d3055a754235e93bdee1ad0075 /cpp/lib/broker/SessionHandlerImpl.cpp | |
parent | dc0593dbce33328266edade35431a6571342786c (diff) | |
download | qpid-python-786c13d1833f626bf47262dd16ea48c81ac3887f.tar.gz |
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
Diffstat (limited to 'cpp/lib/broker/SessionHandlerImpl.cpp')
-rw-r--r-- | cpp/lib/broker/SessionHandlerImpl.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
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); } |