summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/SessionBase_0_10.cpp
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-05-27 18:38:06 +0000
committerAlan Conway <aconway@apache.org>2008-05-27 18:38:06 +0000
commit63f68e2f68cafce3da7ca03113e6eddc38d405b3 (patch)
treef16d502dfe64ef9eb2d10a39151630f453d4c810 /cpp/src/qpid/client/SessionBase_0_10.cpp
parent1ebc196ec0f6128e9f73f3aebb9a30d5436ef5c0 (diff)
downloadqpid-python-63f68e2f68cafce3da7ca03113e6eddc38d405b3.tar.gz
Tighten up sync-correctness in SubscriptionManager & Dispatcher.
Add a flush to SessionBase_0_10::sync() so it syncs in both directions. git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@660643 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/SessionBase_0_10.cpp')
-rw-r--r--cpp/src/qpid/client/SessionBase_0_10.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/qpid/client/SessionBase_0_10.cpp b/cpp/src/qpid/client/SessionBase_0_10.cpp
index 974acbfcf6..1fa958dcae 100644
--- a/cpp/src/qpid/client/SessionBase_0_10.cpp
+++ b/cpp/src/qpid/client/SessionBase_0_10.cpp
@@ -42,6 +42,7 @@ void SessionBase_0_10::flush()
void SessionBase_0_10::sync()
{
+ impl->sendFlush(); // Let the peer know our state.
ExecutionSyncBody b;
b.setSync(true);
impl->send(b).wait(*impl);