public class ServerSocketIO extends SocketIOBase<ServerSocketChannel>
DEFAULT_BUFFER_SIZE| Constructor and Description |
|---|
ServerSocketIO(ServerSocketChannel socketChannel,
String mode)
Construct a ServerSocketIO for the given ServerSocketChannel.
|
| Modifier and Type | Method and Description |
|---|---|
int |
readinto(ByteBuffer buf)
Read up to buf.remaining() bytes into buf.
|
int |
write(ByteBuffer buf)
Write the given ByteBuffer to the IO stream.
|
close, getChannel, readable, writableasInputStream, asOutputStream, checkClosed, checkReadable, checkWritable, closed, flush, isatty, seek, seek, tell, truncatepublic ServerSocketIO(ServerSocketChannel socketChannel, String mode)
socketChannel - a ServerSocketChannel to wrapmode - a raw io socket mode Stringpublic int readinto(ByteBuffer buf)
RawIOBasepublic int write(ByteBuffer buf)
RawIOBase