From fcfff56e615c4054d52dc510c9cd1d1103249dce Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Fri, 9 Apr 2010 16:27:35 +0000 Subject: 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 --- cpp/include/qpid/messaging/Session.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'cpp/include/qpid/messaging/Session.h') diff --git a/cpp/include/qpid/messaging/Session.h b/cpp/include/qpid/messaging/Session.h index b3bc527329..ac0ea425f6 100644 --- a/cpp/include/qpid/messaging/Session.h +++ b/cpp/include/qpid/messaging/Session.h @@ -96,15 +96,17 @@ class Session : public qpid::messaging::Handle /** * Returns the total number of messages received and waiting to be - * fetched by all Receivers belonging to this session. + * fetched by all Receivers belonging to this session. This is the + * total number of available messages across all receivers on this + * session. */ - QPID_CLIENT_EXTERN uint32_t getAvailable(); + QPID_CLIENT_EXTERN uint32_t getReceivable(); /** * Returns a count of the number of messages received this session * that have been acknowledged, but for which that acknowledgement * has not yet been confirmed as processed by the server. */ - QPID_CLIENT_EXTERN uint32_t getPendingAck(); + QPID_CLIENT_EXTERN uint32_t getUnsettledAcks(); /** * Retrieves the receiver for the next available message. If there * are no available messages at present the call will block for up -- cgit v1.2.1