final class ChannelInputStream
extends java.io.InputStream
| Modifier and Type | Field and Description |
|---|---|
private boolean |
m_bIsClosed |
private IOQueue |
m_Queue |
| Constructor and Description |
|---|
ChannelInputStream(AbstractAnonChannel c) |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
close() |
protected void |
closedByPeer() |
int |
read() |
int |
read(byte[] out) |
int |
read(byte[] out,
int pos,
int len) |
protected void |
recv(byte[] buff,
int pos,
int len) |
private IOQueue m_Queue
private boolean m_bIsClosed
ChannelInputStream(AbstractAnonChannel c)
protected void recv(byte[] buff,
int pos,
int len)
throws java.io.IOException
java.io.IOExceptionpublic int available()
throws java.io.IOException
available in class java.io.InputStreamjava.io.IOExceptionpublic int read()
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] out)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionpublic int read(byte[] out,
int pos,
int len)
throws java.io.IOException
read in class java.io.InputStreamjava.io.IOExceptionprotected void closedByPeer()
public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.InputStreamjava.io.IOExceptionCopyright © 2023. All rights reserved.