Return-Path: X-Original-To: apmail-qpid-commits-archive@www.apache.org Delivered-To: apmail-qpid-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BC5C018476 for ; Thu, 16 Jul 2015 21:54:12 +0000 (UTC) Received: (qmail 92319 invoked by uid 500); 16 Jul 2015 21:54:12 -0000 Delivered-To: apmail-qpid-commits-archive@qpid.apache.org Received: (qmail 92289 invoked by uid 500); 16 Jul 2015 21:54:12 -0000 Mailing-List: contact commits-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@qpid.apache.org Delivered-To: mailing list commits@qpid.apache.org Received: (qmail 92280 invoked by uid 99); 16 Jul 2015 21:54:12 -0000 Received: from eris.apache.org (HELO hades.apache.org) (140.211.11.105) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Jul 2015 21:54:12 +0000 Received: from hades.apache.org (localhost [127.0.0.1]) by hades.apache.org (ASF Mail Server at hades.apache.org) with ESMTP id 6F0CEAC0250 for ; Thu, 16 Jul 2015 21:54:12 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1691457 - /qpid/trunk/qpid/cpp/include/qpid/messaging/Receiver.h Date: Thu, 16 Jul 2015 21:54:11 -0000 To: commits@qpid.apache.org From: shuston@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20150716215412.6F0CEAC0250@hades.apache.org> Author: shuston Date: Thu Jul 16 21:54:11 2015 New Revision: 1691457 URL: http://svn.apache.org/r1691457 Log: Doc fixes per QPID-6648. Modified: qpid/trunk/qpid/cpp/include/qpid/messaging/Receiver.h Modified: qpid/trunk/qpid/cpp/include/qpid/messaging/Receiver.h URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/include/qpid/messaging/Receiver.h?rev=1691457&r1=1691456&r2=1691457&view=diff ============================================================================== --- qpid/trunk/qpid/cpp/include/qpid/messaging/Receiver.h (original) +++ qpid/trunk/qpid/cpp/include/qpid/messaging/Receiver.h Thu Jul 16 21:54:11 2015 @@ -50,54 +50,54 @@ class QPID_MESSAGING_CLASS_EXTERN Receiv QPID_MESSAGING_EXTERN ~Receiver(); QPID_MESSAGING_EXTERN Receiver& operator=(const Receiver&); /** - * Retrieves a message from this receivers local queue, or waits - * for upto the specified timeout for a message to become + * Retrieves a message from this Receiver's local queue or waits + * for up to the specified timeout for a message to become * available. */ QPID_MESSAGING_EXTERN bool get(Message& message, Duration timeout=Duration::FOREVER); /** - * Retrieves a message from this receivers local queue, or waits + * Retrieves a message from this Receiver's local queue or waits * for up to the specified timeout for a message to become * available. * * @exception NoMessageAvailable if there is no message to give * after waiting for the specified timeout, or if the Receiver is - * closed, in which case isClose() will be true. + * closed, in which case isClosed() will be true. */ QPID_MESSAGING_EXTERN Message get(Duration timeout=Duration::FOREVER); /** - * Retrieves a message for this receivers subscription or waits + * Retrieves a message from this Receiver's subscription or waits * for up to the specified timeout for one to become - * available. Unlike get() this method will check with the server + * available. Unlike get(), this method will check with the server * that there is no message for the subscription this receiver is * serving before returning false. * - * @return false if there is no message to give after - * waiting for the specified timeout, or if the Receiver is - * closed, in which case isClose() will be true. + * @return false if there is no message available after + * waiting for the specified time period, or if the receiver is + * closed, in which case isClosed() will be true. */ QPID_MESSAGING_EXTERN bool fetch(Message& message, Duration timeout=Duration::FOREVER); /** - * Retrieves a message for this receivers subscription or waits + * Retrieves a message for this Receiver's subscription or waits * for up to the specified timeout for one to become - * available. Unlike get() this method will check with the server + * available. Unlike get(), this method will check with the server * that there is no message for the subscription this receiver is * serving before throwing an exception. * - * @exception NoMessageAvailable if there is no message to give + * @exception NoMessageAvailable if there is no message available * after waiting for the specified timeout, or if the Receiver is * closed, in which case isClose() will be true. */ QPID_MESSAGING_EXTERN Message fetch(Duration timeout=Duration::FOREVER); /** - * Sets the capacity for the receiver. The capacity determines how - * many incoming messages can be held in the receiver before being + * Sets the capacity for the Receiver. The capacity determines how + * many incoming messages can be held in the Receiver before being * requested by a client via fetch() (or pushed to a listener). */ QPID_MESSAGING_EXTERN void setCapacity(uint32_t); /** - * @return the capacity of the receiver. The capacity determines - * how many incoming messages can be held in the receiver before + * @return the capacity of the Receiver. The capacity determines + * how many incoming messages can be held in the Receiver before * being requested by a client via fetch() (or pushed to a * listener). */ @@ -108,35 +108,35 @@ class QPID_MESSAGING_CLASS_EXTERN Receiv */ QPID_MESSAGING_EXTERN uint32_t getAvailable(); /** - * @return a count of the number of messages received on this - * receiver that have been acknowledged, but for which that + * @return the number of messages received on this + * Receiver that have been acknowledged, but for which that * acknowledgement has not yet been confirmed as processed by the * server. */ QPID_MESSAGING_EXTERN uint32_t getUnsettled(); /** - * Cancels this receiver. + * Cancels this Receiver. */ QPID_MESSAGING_EXTERN void close(); /** - * Return true if the receiver was closed by a call to close() + * Return true if the Receiver was closed by a call to close(). */ QPID_MESSAGING_EXTERN bool isClosed() const; /** - * Returns the name of this receiver. + * Returns the name of this Receiver. */ QPID_MESSAGING_EXTERN const std::string& getName() const; /** - * Returns a handle to the session associated with this receiver. + * Returns a handle to the session associated with this Receiver. */ QPID_MESSAGING_EXTERN Session getSession() const; /** - * Returns an address for this receiver. + * Returns an address for this Receiver. */ QPID_MESSAGING_EXTERN Address getAddress() const; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org For additional commands, e-mail: commits-help@qpid.apache.org