diff options
| author | Gordon Sim <gsim@apache.org> | 2009-09-14 10:21:49 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2009-09-14 10:21:49 +0000 |
| commit | e5a9bace572937edff916e3d3f2205e3e54fdf05 (patch) | |
| tree | adc8e5e5fa1cd558e0868245889670c19683a93e /cpp/src/qpid/client/amqp0_10/ReceiverImpl.cpp | |
| parent | e2e4f4e3450d13176a84b93736abb21f9a9df1fe (diff) | |
| download | qpid-python-e5a9bace572937edff916e3d3f2205e3e54fdf05.tar.gz | |
Added available and pendingAck properties to Receiver; added capacity and pending properties to Sender.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@814562 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/amqp0_10/ReceiverImpl.cpp')
| -rw-r--r-- | cpp/src/qpid/client/amqp0_10/ReceiverImpl.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/cpp/src/qpid/client/amqp0_10/ReceiverImpl.cpp b/cpp/src/qpid/client/amqp0_10/ReceiverImpl.cpp index 31efff38a6..da91c4a160 100644 --- a/cpp/src/qpid/client/amqp0_10/ReceiverImpl.cpp +++ b/cpp/src/qpid/client/amqp0_10/ReceiverImpl.cpp @@ -120,6 +120,21 @@ qpid::messaging::MessageListener* ReceiverImpl::getListener() { return listener; const std::string& ReceiverImpl::getName() const { return destination; } +uint32_t ReceiverImpl::getCapacity() +{ + return capacity; +} + +uint32_t ReceiverImpl::available() +{ + return parent.available(destination); +} + +uint32_t ReceiverImpl::pendingAck() +{ + return parent.pendingAck(destination); +} + ReceiverImpl::ReceiverImpl(SessionImpl& p, const std::string& name, const qpid::messaging::Address& a, const qpid::messaging::Filter* f, |
