public class ServerSocketIO extends SocketIOBase<java.nio.channels.ServerSocketChannel>
DEFAULT_BUFFER_SIZE| Constructor | Description |
|---|---|
ServerSocketIO(java.nio.channels.ServerSocketChannel socketChannel,
java.lang.String mode) |
Construct a ServerSocketIO for the given ServerSocketChannel.
|
| Modifier and Type | Method | Description |
|---|---|---|
int |
readinto(java.nio.ByteBuffer buf) |
Read up to buf.remaining() bytes into buf.
|
int |
write(java.nio.ByteBuffer buf) |
Write the given ByteBuffer to the IO stream.
|
asInputStream, asOutputStream, checkClosed, checkReadable, checkWritable, closed, flush, isatty, seek, seek, tell, truncateequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getChannel, readable, writablepublic ServerSocketIO(java.nio.channels.ServerSocketChannel socketChannel,
java.lang.String mode)
socketChannel - a ServerSocketChannel to wrapmode - a raw io socket mode Stringpublic int readinto(java.nio.ByteBuffer buf)
RawIOBasepublic int write(java.nio.ByteBuffer buf)
RawIOBase