diff options
author | Gordon Sim <gsim@apache.org> | 2006-09-27 13:21:43 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2006-09-27 13:21:43 +0000 |
commit | 72aff4cc22932bd98b542ac9dd6393e23985e312 (patch) | |
tree | d3159aa7eeba203fea961b7397809ad805c74e1a /cpp/broker/src/SessionHandlerImpl.cpp | |
parent | f1745fde1a2164878794f0bcf62fa62aacbe5cae (diff) | |
download | qpid-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.cpp | 8 |
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); +} |