public abstract class SocketIOBase<T extends Channel> extends RawIOBase
DEFAULT_BUFFER_SIZE| Constructor and Description |
|---|
SocketIOBase(T socketChannel,
String mode)
Construct a SocketIOBase for the given socket Channel
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Flushes and closes the IO object.
|
T |
getChannel()
Return the underlying Java nio Channel.
|
boolean |
readable()
Return whether this file was opened for reading.
|
boolean |
writable()
Return whether this file was opened for writing.
|
fileno, read, readall, readinto, readinto, write, writeasInputStream, asOutputStream, checkClosed, checkReadable, checkWritable, closed, flush, isatty, seek, seek, tell, truncatepublic void close()
IOBasepublic T getChannel()
RawIOBasegetChannel in class RawIOBasepublic boolean readable()
IOBase