summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/messaging/Session.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/messaging/Session.cpp')
-rw-r--r--cpp/src/qpid/messaging/Session.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/cpp/src/qpid/messaging/Session.cpp b/cpp/src/qpid/messaging/Session.cpp
index cc0b528777..eb5e3766b8 100644
--- a/cpp/src/qpid/messaging/Session.cpp
+++ b/cpp/src/qpid/messaging/Session.cpp
@@ -61,14 +61,9 @@ Receiver Session::createReceiver(const std::string& address)
return impl->createReceiver(Address(address));
}
-void Session::sync()
+void Session::sync(bool block)
{
- impl->sync();
-}
-
-void Session::flush()
-{
- impl->flush();
+ impl->sync(block);
}
bool Session::nextReceiver(Receiver& receiver, Duration timeout)