Blocking receive method. This method returns the object that was first received by this JChannel and that has not been received before. After the object is received, it is removed from the receive queue. If you only want to inspect the object received without removing it from the queue call JChannel.peek If no messages are in the receive queue, this method blocks until a message is added or the operation times out By specifying a timeout of 0, the operation blocks forever, or until a message has been received.
@param timeout the number of milliseconds to wait if the receive queue is empty. 0 means wait forever
@exception TimeoutException if a timeout occured prior to a new message was received
@exception ChannelNotConnectedException
@exception ChannelClosedException
@see JChannel#peek
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.