public class IoSessionInputStream
extends java.io.InputStream
InputStream
that buffers data read from
IoHandler.messageReceived(IoSession, Object)
events.Constructor | Description |
---|---|
IoSessionInputStream() |
Modifier and Type | Method | 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 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)