Uses of Class
org.refcodes.io.TimeoutInputStream
-
-
Uses of TimeoutInputStream in org.refcodes.io
Subclasses of TimeoutInputStream in org.refcodes.io Modifier and Type Class Description static class
TimeoutInputStream.DummyTimeoutInputStream
Dummy implementation of aTimeoutInputStream
directly delegating to the givenInputStream
to test whether theTimeoutInputStream
has any latencies compared to theTimeoutInputStream.DummyTimeoutInputStream
.Methods in org.refcodes.io that return TimeoutInputStream Modifier and Type Method Description default TimeoutInputStream
BytesReceiver. getInputStream(long aTimeoutInMs)
Retrieves theInputStream
as provided byBytesReceiver.getInputStream()
wrapped in aTimeoutInputStream
or an implementation depended implementation of aTimeoutInputStream
.TimeoutInputStream
TimeoutInputStreamAccessor. getInputStream(long aTimeoutInMs)
Retrieves the timeout input stream from the timeout input stream property.default TimeoutInputStream
TimeoutInputStreamAccessor.TimeoutInputStreamProperty. letTimeoutInputStream(TimeoutInputStream aTimeoutInputStream)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenTimeoutInputStream
(setter) as ofTimeoutInputStreamAccessor.TimeoutInputStreamMutator.setInputStream(TimeoutInputStream)
and returns the very same value (getter).Methods in org.refcodes.io with parameters of type TimeoutInputStream Modifier and Type Method Description default TimeoutInputStream
TimeoutInputStreamAccessor.TimeoutInputStreamProperty. letTimeoutInputStream(TimeoutInputStream aTimeoutInputStream)
This method stores and passes through the given argument, which is very useful for builder APIs: Sets the givenTimeoutInputStream
(setter) as ofTimeoutInputStreamAccessor.TimeoutInputStreamMutator.setInputStream(TimeoutInputStream)
and returns the very same value (getter).void
TimeoutInputStreamAccessor.TimeoutInputStreamMutator. setInputStream(TimeoutInputStream aTimeoutInputStream)
Sets the timeout input stream for the timeout input stream property.B
TimeoutInputStreamAccessor.TimeoutInputStreamBuilder. withInputStream(TimeoutInputStream aTimeoutInputStream)
Sets the timeout input stream to use and returns this builder as of the Builder-Pattern.
-