Represents a FileDescriptor
that you can select
.
This means that you can register listeners for this file
descriptor on a given Selector
object that will be
called whenever there is data available to be read or
written without blocking the reading/writing thread.
no type hierarchy
Attributes | |
blocking | Source Codeshared formal variable Boolean blocking The blocking mode. |
Inherited Attributes |
Attributes inherited from: Object |
Methods | |
readAsync | Source Codeshared void readAsync(Selector selector, void consume(ByteBuffer buffer), ByteBuffer buffer = ...) Register a reading listener to the given If you are no longer interested in Parameters:
See also Selector |
writeAsync | Source Codeshared void writeAsync(Selector selector, void producer(ByteBuffer buffer), ByteBuffer buffer = ...) Register a writing listener to the given If you are no longer interested in Parameters:
See also Selector |
Inherited Methods |
Methods inherited from: Object |
Methods inherited from: Closeable |
Methods inherited from: ReadableFileDescriptor |
Methods inherited from: WritableFileDescriptor |