public class IoSessionInputStream extends 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(IOException e) |
void |
write(ByteBuffer src) |
mark, markSupported, read, reset, skip
public int available()
available
in class InputStream
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in class InputStream
public int read() throws IOException
read
in class InputStream
IOException
public int read(byte[] b, int off, int len) throws IOException
read
in class InputStream
IOException
public void write(ByteBuffer src)
public void throwException(IOException e)
Copyright © 2004–2015 Apache MINA Project. All rights reserved.