From 61647950e1c4e6b1efb0a1b3f3b220783680103f Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Mon, 21 Apr 2008 14:37:03 +0000 Subject: QPID-920: send message-accept for acks (as well as completion) * AckPolicy now maintains a set of transfered messages for cumulative accepts git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@650159 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/client/SessionImpl.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cpp/src/qpid/client/SessionImpl.cpp') diff --git a/cpp/src/qpid/client/SessionImpl.cpp b/cpp/src/qpid/client/SessionImpl.cpp index 57f12cf28e..4e3f6cdd98 100644 --- a/cpp/src/qpid/client/SessionImpl.cpp +++ b/cpp/src/qpid/client/SessionImpl.cpp @@ -517,6 +517,12 @@ void SessionImpl::flush(bool expected, bool confirmed, bool completed) } void SessionImpl::sendCompletion() +{ + Lock l(state); + sendCompletionImpl(); +} + +void SessionImpl::sendCompletionImpl() { proxy.completed(completedIn, true); } -- cgit v1.2.1