class TimeoutPipedInputStream
extends java.io.PipedInputStream
| コンストラクタ | 説明 |
|---|---|
TimeoutPipedInputStream(int pipeSize) |
| 修飾子とタイプ | メソッド | 説明 |
|---|---|---|
void |
close() |
Overridden to save state.
|
int |
read() |
|
void |
setReadTimeout(int ms) |
Must be called before blocking read call.
|
(package private) void |
x_receivedLast() |
To save state.
|
mark, markSupported, read, readAllBytes, readNBytes, reset, skip, transferTopublic int read()
throws java.io.IOException
read クラス内 java.io.PipedInputStreamjava.net.SocketTimeoutException - if timeout is reachedjava.io.IOExceptionpublic void setReadTimeout(int ms)
ms - less than or equal to zero means forevervoid x_receivedLast()
public void close()
throws java.io.IOException
close クラス内 java.io.PipedInputStreamjava.io.IOException