final class IOQueue
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private boolean |
bFull |
private boolean |
bReadClosed |
private byte[] |
buff |
private static int |
BUFF_SIZE |
private boolean |
bWriteClosed |
private int |
readPos |
private int |
writePos |
| Constructor and Description |
|---|
IOQueue() |
| Modifier and Type | Method and Description |
|---|---|
int |
available() |
void |
closeRead() |
void |
closeWrite() |
void |
finalize() |
int |
read() |
int |
read(byte[] in,
int pos,
int len) |
void |
write(byte[] in,
int pos,
int len) |
private byte[] buff
private int readPos
private int writePos
private boolean bWriteClosed
private boolean bReadClosed
private static final int BUFF_SIZE
private boolean bFull
public void write(byte[] in,
int pos,
int len)
throws java.io.IOException
java.io.IOExceptionpublic int read()
throws java.io.IOException
java.io.IOExceptionpublic int read(byte[] in,
int pos,
int len)
throws java.io.IOException
java.io.IOExceptionpublic int available()
public void closeWrite()
public void closeRead()
public void finalize()
throws java.lang.Throwable
finalize in class java.lang.Objectjava.lang.ThrowableCopyright © 2023. All rights reserved.