diff options
| author | Gordon Sim <gsim@apache.org> | 2010-04-09 16:27:35 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2010-04-09 16:27:35 +0000 |
| commit | fcfff56e615c4054d52dc510c9cd1d1103249dce (patch) | |
| tree | f07b0f91f1d71e1d8a270238269b70be022f755e /cpp/src/qpid/messaging/Sender.cpp | |
| parent | a8671b721c82bfa4eb0d3854f8af5ab903637604 (diff) | |
| download | qpid-python-fcfff56e615c4054d52dc510c9cd1d1103249dce.tar.gz | |
QPID-664: changed pending to unsettled; added available to sender; minor update to address doc
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@932490 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/messaging/Sender.cpp')
| -rw-r--r-- | cpp/src/qpid/messaging/Sender.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/qpid/messaging/Sender.cpp b/cpp/src/qpid/messaging/Sender.cpp index b4c247d1d9..53dbb69777 100644 --- a/cpp/src/qpid/messaging/Sender.cpp +++ b/cpp/src/qpid/messaging/Sender.cpp @@ -36,7 +36,8 @@ void Sender::send(const Message& message, bool sync) { impl->send(message, sync) void Sender::close() { impl->close(); } void Sender::setCapacity(uint32_t c) { impl->setCapacity(c); } uint32_t Sender::getCapacity() { return impl->getCapacity(); } -uint32_t Sender::getPending() { return impl->pending(); } +uint32_t Sender::getUnsettled() { return impl->getUnsettled(); } +uint32_t Sender::getAvailable() { return getCapacity() - getUnsettled(); } const std::string& Sender::getName() const { return impl->getName(); } Session Sender::getSession() const { return impl->getSession(); } |
