public class SocketIO extends SocketIOBase<SocketChannel>
DEFAULT_BUFFER_SIZE| Constructor and Description | 
|---|
| SocketIO(SocketChannel socketChannel,
        String mode)Construct a SocketIO for the given SocketChannel. | 
| Modifier and Type | Method and Description | 
|---|---|
| int | readinto(ByteBuffer buf)Read up to buf.remaining() bytes into buf. | 
| long | readinto(ByteBuffer[] bufs)Read bytes into each of the specified ByteBuffers via scatter
 i/o. | 
| int | write(ByteBuffer buf)Write the given ByteBuffer to the IO stream. | 
| long | write(ByteBuffer[] bufs)Writes bytes from each of the specified ByteBuffers via gather
 i/o. | 
close, getChannel, readable, writableasInputStream, asOutputStream, checkClosed, checkReadable, checkWritable, closed, flush, isatty, seek, seek, tell, truncatepublic SocketIO(SocketChannel socketChannel, String mode)
socketChannel - a SocketChannel to wrapmode - a raw io socket mode Stringpublic int readinto(ByteBuffer buf)
RawIOBasepublic long readinto(ByteBuffer[] bufs)
public int write(ByteBuffer buf)
RawIOBasepublic long write(ByteBuffer[] bufs)