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, skippublic int available()
available in class InputStreampublic void close()
close in interface Closeableclose in interface AutoCloseableclose in class InputStreampublic int read()
throws IOException
read in class InputStreamIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class InputStreamIOExceptionpublic void write(ByteBuffer src)
public void throwException(IOException e)
Copyright © 2004–2018 Apache MINA Project. All rights reserved.