diff options
author | Gordon Sim <gsim@apache.org> | 2008-11-05 21:12:54 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2008-11-05 21:12:54 +0000 |
commit | 359f60c318627900c3ac216496486c42d1a4df8a (patch) | |
tree | 879b78ce5d2cc1344f4840dbdbf83da66605ba47 /cpp/src/qpid/client/Subscription.cpp | |
parent | 06c6c1db04d562b6cad0293cb4c5f8e40dde7a19 (diff) | |
download | qpid-python-359f60c318627900c3ac216496486c42d1a4df8a.tar.gz |
Added ability to release messages through the Subscription class (+test)
Added another mode for managing completion (+test)
Fixed regression where bytes credit was not reallocated in windowing mode after an accept/release
Fixed regression where subscribe request is issued before listener is registered with dispatcher
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@711698 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/Subscription.cpp')
-rw-r--r-- | cpp/src/qpid/client/Subscription.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cpp/src/qpid/client/Subscription.cpp b/cpp/src/qpid/client/Subscription.cpp index af4d7bdb56..bf788c5f93 100644 --- a/cpp/src/qpid/client/Subscription.cpp +++ b/cpp/src/qpid/client/Subscription.cpp @@ -38,6 +38,7 @@ SequenceSet Subscription::getUnacquired() const { return impl->getUnacquired(); SequenceSet Subscription::getUnaccepted() const { return impl->getUnaccepted(); } void Subscription::acquire(const SequenceSet& messageIds) { impl->acquire(messageIds); } void Subscription::accept(const SequenceSet& messageIds) { impl->accept(messageIds); } +void Subscription::release(const SequenceSet& messageIds) { impl->release(messageIds); } Session Subscription::getSession() const { return impl->getSession(); } SubscriptionManager&Subscription:: getSubscriptionManager() const { return impl->getSubscriptionManager(); } void Subscription::cancel() { impl->cancel(); } |