summaryrefslogtreecommitdiff
path: root/cpp/include/qpid/messaging/Sender.h
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2010-04-09 16:27:35 +0000
committerGordon Sim <gsim@apache.org>2010-04-09 16:27:35 +0000
commitfcfff56e615c4054d52dc510c9cd1d1103249dce (patch)
treef07b0f91f1d71e1d8a270238269b70be022f755e /cpp/include/qpid/messaging/Sender.h
parenta8671b721c82bfa4eb0d3854f8af5ab903637604 (diff)
downloadqpid-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/include/qpid/messaging/Sender.h')
-rw-r--r--cpp/include/qpid/messaging/Sender.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/cpp/include/qpid/messaging/Sender.h b/cpp/include/qpid/messaging/Sender.h
index 7c4b68731e..80fa174d80 100644
--- a/cpp/include/qpid/messaging/Sender.h
+++ b/cpp/include/qpid/messaging/Sender.h
@@ -70,8 +70,12 @@ class Sender : public qpid::messaging::Handle<SenderImpl>
* Returns the number of sent messages pending confirmation of
* receipt by the broker. (These are the 'in-doubt' messages).
*/
- QPID_CLIENT_EXTERN uint32_t getPending();
-
+ QPID_CLIENT_EXTERN uint32_t getUnsettled();
+ /**
+ * Returns the number of messages for which there is available
+ * capacity.
+ */
+ QPID_CLIENT_EXTERN uint32_t getAvailable();
/**
* Returns the name of this sender.
*/