From 00e14b01033ae8c33399bc6ebfd28930498b2533 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Wed, 7 Apr 2010 19:41:44 +0000 Subject: QPID-664: removed flush, added option to make sync non-blocking if so desired git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931651 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/client/SessionBase_0_10.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'cpp/src/qpid/client/SessionBase_0_10.cpp') diff --git a/cpp/src/qpid/client/SessionBase_0_10.cpp b/cpp/src/qpid/client/SessionBase_0_10.cpp index e114b7aacc..6aa13bb579 100644 --- a/cpp/src/qpid/client/SessionBase_0_10.cpp +++ b/cpp/src/qpid/client/SessionBase_0_10.cpp @@ -65,6 +65,13 @@ void SessionBase_0_10::sendCompletion() impl->sendCompletion(); } +void SessionBase_0_10::sendSyncRequest() +{ + ExecutionSyncBody b; + b.setSync(true); + impl->send(b); +} + uint16_t SessionBase_0_10::getChannel() const { return impl->getChannel(); } void SessionBase_0_10::suspend() { impl->suspend(); } -- cgit v1.2.1