public class IoSessionInputStream
extends java.io.InputStream
InputStream
that buffers data read from
IoHandler.messageReceived(IoSession, Object)
events.Constructor and Description |
---|
IoSessionInputStream() |
Modifier and Type | Method and Description |
---|---|
int |
available() |
void |
close() |
int |
read() |
int |
read(byte[] b,
int off,
int len) |
void |
throwException(java.io.IOException e) |
void |
write(ByteBuffer src) |
public int available()
available
in class java.io.InputStream
public void close()
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.InputStream
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] b, int off, int len) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public void write(ByteBuffer src)
public void throwException(java.io.IOException e)