Package net.i2p.util
Class TimeoutPipedOutputStream
java.lang.Object
java.io.OutputStream
java.io.PipedOutputStream
net.i2p.util.TimeoutPipedOutputStream
- All Implemented Interfaces:
Closeable
,Flushable
,AutoCloseable
class TimeoutPipedOutputStream extends PipedOutputStream
Helper for TimeoutPipedInputStream.
There isn't any timeout implemented here.
To support InternalSocket.setSoTimeout().
Package private, not a part of the public API, not for general use.
- Since:
- 0.9.34
- See Also:
TimeoutPipedInputStream
-
Constructor Summary
Constructors Constructor Description TimeoutPipedOutputStream(TimeoutPipedInputStream snk)
-
Method Summary
Modifier and Type Method Description void
close()
Overridden only so we can tell snk.
-
Constructor Details
-
TimeoutPipedOutputStream
- Throws:
IOException
-
-
Method Details
-
close
Overridden only so we can tell snk. We have to do this because TPIS can't get to pkg private receivedLast() in super.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classPipedOutputStream
- Throws:
IOException
-