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.IOException
public int available() throws java.io.IOException
available
in class java.io.InputStream
java.io.IOException
public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] out) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
public int read(byte[] out, int pos, int len) throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
protected void closedByPeer()
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class java.io.InputStream
java.io.IOException
Copyright © 2023. All rights reserved.