diff options
| author | Gordon Sim <gsim@apache.org> | 2008-04-22 20:31:00 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2008-04-22 20:31:00 +0000 |
| commit | 63d88fa5ff3407f26590bdf6b5a956d3307f677e (patch) | |
| tree | 2276bf378240735a701dab3c93c419fee0906a06 /cpp/src/qpid/client/SessionImpl.cpp | |
| parent | 1852df5d00eda8d25b7c11a01144fca629fc6427 (diff) | |
| download | qpid-python-63d88fa5ff3407f26590bdf6b5a956d3307f677e.tar.gz | |
QPID-920: allow applications to trigger the sending of a flush to server
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@650640 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/SessionImpl.cpp')
| -rw-r--r-- | cpp/src/qpid/client/SessionImpl.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/src/qpid/client/SessionImpl.cpp b/cpp/src/qpid/client/SessionImpl.cpp index 190141c411..4f3869319c 100644 --- a/cpp/src/qpid/client/SessionImpl.cpp +++ b/cpp/src/qpid/client/SessionImpl.cpp @@ -525,6 +525,12 @@ void SessionImpl::sendCompletion() sendCompletionImpl(); } +void SessionImpl::sendFlush() +{ + Lock l(state); + proxy.flush(false, false, true); +} + void SessionImpl::sendCompletionImpl() { proxy.completed(completedIn, true); |
