summaryrefslogtreecommitdiff
path: root/cpp/broker/src/SessionHandlerImpl.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2006-09-27 13:21:43 +0000
committerGordon Sim <gsim@apache.org>2006-09-27 13:21:43 +0000
commit72aff4cc22932bd98b542ac9dd6393e23985e312 (patch)
treed3159aa7eeba203fea961b7397809ad805c74e1a /cpp/broker/src/SessionHandlerImpl.cpp
parentf1745fde1a2164878794f0bcf62fa62aacbe5cae (diff)
downloadqpid-python-72aff4cc22932bd98b542ac9dd6393e23985e312.tar.gz
Initial implementation of basic_ack & basic_recover
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@450434 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/broker/src/SessionHandlerImpl.cpp')
-rw-r--r--cpp/broker/src/SessionHandlerImpl.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/cpp/broker/src/SessionHandlerImpl.cpp b/cpp/broker/src/SessionHandlerImpl.cpp
index c72ad45d7c..2ce1c4b298 100644
--- a/cpp/broker/src/SessionHandlerImpl.cpp
+++ b/cpp/broker/src/SessionHandlerImpl.cpp
@@ -377,9 +377,13 @@ void SessionHandlerImpl::BasicHandlerImpl::publish(u_int16_t channel, u_int16_t
void SessionHandlerImpl::BasicHandlerImpl::get(u_int16_t channel, u_int16_t ticket, string& queue, bool noAck){}
-void SessionHandlerImpl::BasicHandlerImpl::ack(u_int16_t channel, u_int64_t deliveryTag, bool multiple){}
+void SessionHandlerImpl::BasicHandlerImpl::ack(u_int16_t channel, u_int64_t deliveryTag, bool multiple){
+ parent->getChannel(channel)->ack(deliveryTag, multiple);
+}
void SessionHandlerImpl::BasicHandlerImpl::reject(u_int16_t channel, u_int64_t deliveryTag, bool requeue){}
-void SessionHandlerImpl::BasicHandlerImpl::recover(u_int16_t channel, bool requeue){}
+void SessionHandlerImpl::BasicHandlerImpl::recover(u_int16_t channel, bool requeue){
+ parent->getChannel(channel)->recover(requeue);
+}