Located in compilation unit of com.
| Modifier and Type | Field and Description |
|---|---|
| private byte[] | |
| private final OutputStream | |
| private final ScheduledExecutorService | |
| private final int | |
| private final Callable |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Overrides java. Implements java. |
| public synchronized void | write(int
the b)byte.Implements abstract java. |
| public synchronized void | write(byte[]
the data. bs, int the start offset in the data. off, int the number of bytes to write. len)Overrides java. len bytes from the specified byte array
starting at offset off to this output stream.
|
| b1 | back to summary |
|---|---|
| private byte[] b1 | |
| os | back to summary |
|---|---|
| private final OutputStream os | |
| ses | back to summary |
|---|---|
| private final ScheduledExecutorService ses | |
| timeout | back to summary |
|---|---|
| private final int timeout | |
| timeoutTask | back to summary |
|---|---|
| private final Callable<Object> timeoutTask | |
| TimeoutOutputStream | back to summary |
|---|---|
| public TimeoutOutputStream(OutputStream os0, ScheduledExecutorService ses, int timeout) throws IOException | |
| close | back to summary |
|---|---|
| public void close() throws IOException Overrides java. Implements java. Doc from java. Closes this output stream and releases any system resources
associated with this stream. The general contract of
| |
| write | back to summary |
|---|---|
| public synchronized void write(int b) throws IOException Implements abstract java. Doc from java. Writes the specified byte to this output stream. The general
contract for
| |
| write | back to summary |
|---|---|
| public synchronized void write(byte[] bs, int off, int len) throws IOException Overrides java. Doc from java. Writes
If
If
| |