summaryrefslogtreecommitdiff
path: root/qpid/cpp/lib/broker/SessionHandlerImpl.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2006-12-19 17:55:16 +0000
committerAlan Conway <aconway@apache.org>2006-12-19 17:55:16 +0000
commit5285b7f61ea48a53c1997f3910b687be582f3537 (patch)
treeeb49c9029b408a4787ca014b8423e52de0e864d6 /qpid/cpp/lib/broker/SessionHandlerImpl.cpp
parent83dfcd846205e21f90639d23078b718bfbbe2dc4 (diff)
downloadqpid-python-5285b7f61ea48a53c1997f3910b687be582f3537.tar.gz
* cpp/gen/Makefile.am: fixed generated code dependencies.
* *Channel,SessionHandlerImpl,FramingTest: added FieldTable argument to consume() to conform to updated XML. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@488745 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/lib/broker/SessionHandlerImpl.cpp')
-rw-r--r--qpid/cpp/lib/broker/SessionHandlerImpl.cpp13
1 files changed, 8 insertions, 5 deletions
diff --git a/qpid/cpp/lib/broker/SessionHandlerImpl.cpp b/qpid/cpp/lib/broker/SessionHandlerImpl.cpp
index ad203b4515..bd6ca9dee9 100644
--- a/qpid/cpp/lib/broker/SessionHandlerImpl.cpp
+++ b/qpid/cpp/lib/broker/SessionHandlerImpl.cpp
@@ -360,10 +360,12 @@ void SessionHandlerImpl::BasicHandlerImpl::qos(u_int16_t channel, u_int32_t pref
parent->client->getBasic().qosOk(channel);
}
-void SessionHandlerImpl::BasicHandlerImpl::consume(u_int16_t channelId, u_int16_t /*ticket*/,
- const string& queueName, const string& consumerTag,
- bool noLocal, bool noAck, bool exclusive,
- bool nowait){
+void SessionHandlerImpl::BasicHandlerImpl::consume(
+ u_int16_t channelId, u_int16_t /*ticket*/,
+ const string& queueName, const string& consumerTag,
+ bool noLocal, bool noAck, bool exclusive,
+ bool nowait, const FieldTable& fields)
+{
Queue::shared_ptr queue = parent->getQueue(queueName, channelId);
Channel* channel = parent->channels[channelId];
@@ -373,7 +375,8 @@ void SessionHandlerImpl::BasicHandlerImpl::consume(u_int16_t channelId, u_int16_
try{
string newTag = consumerTag;
- channel->consume(newTag, queue, !noAck, exclusive, noLocal ? parent : 0);
+ channel->consume(
+ newTag, queue, !noAck, exclusive, noLocal ? parent : 0, &fields);
if(!nowait) parent->client->getBasic().consumeOk(channelId, newTag);