Author: arnaudsimon
Date: Tue Jul 31 04:44:28 2007
New Revision: 561300
URL: http://svn.apache.org/viewvc?view=rev&rev=561300
Log:
Changed receive definition
Modified:
incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/nclient/api/MessageReceiver.java
Modified:
incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/nclient/api/MessageReceiver.java
URL:
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/nclient/api/MessageReceiver.java?view=diff&rev=561300&r1=561299&r2=561300
==============================================================================
---
incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/nclient/api/MessageReceiver.java
(original)
+++
incubator/qpid/trunk/qpid/java/client/src/main/java/org/apache/qpid/nclient/api/MessageReceiver.java
Tue Jul 31 04:44:28 2007
@@ -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 @@
*
* @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).