diff options
author | Gordon Sim <gsim@apache.org> | 2009-10-29 11:12:32 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2009-10-29 11:12:32 +0000 |
commit | b59dc7fe0a39f24b00f7378e1edc2b707c74ddf8 (patch) | |
tree | 54b3a36807af94c6dc5aab38c5d9d6448f9be2a6 /cpp | |
parent | ef0e1c5bb6b5fd20ca48fd659c7bf98b0046e08d (diff) | |
download | qpid-python-b59dc7fe0a39f24b00f7378e1edc2b707c74ddf8.tar.gz |
Added extra info to doxygen comments regarding use of SubscriptionManager::get().
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830896 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r-- | cpp/include/qpid/client/SubscriptionManager.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpp/include/qpid/client/SubscriptionManager.h b/cpp/include/qpid/client/SubscriptionManager.h index 632efe0f70..e70e05f73a 100644 --- a/cpp/include/qpid/client/SubscriptionManager.h +++ b/cpp/include/qpid/client/SubscriptionManager.h @@ -164,6 +164,9 @@ class SubscriptionManager : public sys::Runnable, public Handle<SubscriptionMana /** Get a single message from a queue. + * (Note: this currently uses a subscription per invocation and is + * thus relatively expensive. The subscription is cancelled as + * part of each call which can trigger auto-deletion). *@param result is set to the message from the queue. *@param timeout wait up this timeout for a message to appear. *@return true if result was set, false if no message available after timeout. @@ -171,6 +174,9 @@ class SubscriptionManager : public sys::Runnable, public Handle<SubscriptionMana QPID_CLIENT_EXTERN bool get(Message& result, const std::string& queue, sys::Duration timeout=0); /** Get a single message from a queue. + * (Note: this currently uses a subscription per invocation and is + * thus relatively expensive. The subscription is cancelled as + * part of each call which can trigger auto-deletion). *@param timeout wait up this timeout for a message to appear. *@return message from the queue. *@throw Exception if the timeout is exceeded. |