summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/LocalQueue.h
diff options
context:
space:
mode:
authorAlan Conway <aconway@apache.org>2008-10-31 15:08:00 +0000
committerAlan Conway <aconway@apache.org>2008-10-31 15:08:00 +0000
commit79323867dae1ad7b0d00e4055e506749236d9bf1 (patch)
tree7a072a6ad8f9b81cf5984a61d2e9cdfbb26d1d89 /cpp/src/qpid/client/LocalQueue.h
parent2ff919b2bf8623b6bf542e589aae4c05c403a009 (diff)
downloadqpid-python-79323867dae1ad7b0d00e4055e506749236d9bf1.tar.gz
Added return Message overload of SubscriptionManager get().
Fixed compile error in broker/Vhost.cpp git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@709440 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/client/LocalQueue.h')
-rw-r--r--cpp/src/qpid/client/LocalQueue.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/src/qpid/client/LocalQueue.h b/cpp/src/qpid/client/LocalQueue.h
index 3be2293810..2b878b2939 100644
--- a/cpp/src/qpid/client/LocalQueue.h
+++ b/cpp/src/qpid/client/LocalQueue.h
@@ -58,11 +58,13 @@ class LocalQueue {
/** Get the next message off the local queue, or wait up to the timeout
* for message from the broker queue.
- *@exception ClosedException if subscription is closed or timeout exceeded.
+ *@param timeout wait up this timeout for a message to appear.
+ *@return message from the queue.
+ *@throw ClosedException if subscription is closed or timeout exceeded.
*/
Message get(sys::Duration timeout=sys::TIME_INFINITE);
- /** Synonym for get(). */
+ /** Synonym for get() */
Message pop(sys::Duration timeout=sys::TIME_INFINITE);
/** Return true if local queue is empty. */