anon.shared
Class IOQueue
java.lang.Object
anon.shared.IOQueue
final class IOQueue
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
buff
private byte[] buff
readPos
private int readPos
writePos
private int writePos
bWriteClosed
private boolean bWriteClosed
bReadClosed
private boolean bReadClosed
BUFF_SIZE
private static final int BUFF_SIZE
- See Also:
- Constant Field Values
bFull
private boolean bFull
IOQueue
public IOQueue()
write
public void write(byte[] in,
int pos,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read()
throws java.io.IOException
- Throws:
java.io.IOException
read
public int read(byte[] in,
int pos,
int len)
throws java.io.IOException
- Throws:
java.io.IOException
available
public int available()
closeWrite
public void closeWrite()
closeRead
public void closeRead()
finalize
public void finalize()
throws java.lang.Throwable
- Overrides:
finalize
in class java.lang.Object
- Throws:
java.lang.Throwable