summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Simon <arnaudsimon@apache.org>2007-07-31 11:44:28 +0000
committerArnaud Simon <arnaudsimon@apache.org>2007-07-31 11:44:28 +0000
commit0fee8dcc487c074b4ea05e5356d080e18263f1ef (patch)
tree78e63f290041d86e887b007772c9c0b763c4ed03
parentb1fa69955cd435b44e8b68c473ff393ce8dd39a5 (diff)
downloadqpid-python-0fee8dcc487c074b4ea05e5356d080e18263f1ef.tar.gz
Changed receive definition
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@561300 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--java/client/src/main/java/org/apache/qpid/nclient/api/MessageReceiver.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/java/client/src/main/java/org/apache/qpid/nclient/api/MessageReceiver.java b/java/client/src/main/java/org/apache/qpid/nclient/api/MessageReceiver.java
index e34238abc0..be5c9298ae 100644
--- a/java/client/src/main/java/org/apache/qpid/nclient/api/MessageReceiver.java
+++ b/java/client/src/main/java/org/apache/qpid/nclient/api/MessageReceiver.java
@@ -19,6 +19,7 @@
package org.apache.qpid.nclient.api;
import org.apache.qpidity.QpidException;
+import org.apache.qpidity.Option;
import java.util.Set;
@@ -32,12 +33,13 @@ public interface MessageReceiver extends Resource
*
* @return This receiver set of options.
*/
- public Set<CreateReceiverOption> getOptions();
+ public Set<Option> getOptions();
/**
* Receive a message form this receiver queue.
- * <p> If the timeout is less or equal than 0 then this operation is blocking.
- * Otherwise it blocks until a message arrives, the timeout expires, or this receiver is closed.
+ * <p> If the timeout is equal to 0 then this operation is blocking.
+ * <p> If the timeout is less than 0 then this operation retruns immediatly
+ * <p> Otherwise it blocks until a message arrives, the timeout expires, or this receiver is closed.
* <p> To receive messages, a receiver must be started.
*
* @param timeout The timeout value (in milliseconds).