|
XNIO version 1.1.1.GA | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SuspendableReadChannel
A suspendable readable channel. This type of channel is associated with a handler which can suspend and resume reads as needed.
Method Summary | |
---|---|
void |
resumeReads()
Resume reads on this channel. |
void |
shutdownReads()
Places this readable channel at "end of stream". |
void |
suspendReads()
Suspend further reads on this channel. |
Methods inherited from interface java.nio.channels.Channel |
---|
close, isOpen |
Methods inherited from interface org.jboss.xnio.channels.Configurable |
---|
getOption, getOptions, setOption |
Method Detail |
---|
void suspendReads()
IoHandler.handleReadable(java.nio.channels.Channel)
method will not
be called until reads are resumed.
void resumeReads()
IoHandler.handleReadable(java.nio.channels.Channel)
method will be
called as soon as there is data available to be read.
void shutdownReads() throws IOException
IOException
- if an I/O error occurs
|
XNIO version 1.1.1.GA | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |