Interface TimeoutInputStreamAccessor

All Superinterfaces:
org.refcodes.mixin.InputStreamAccessor
All Known Subinterfaces:
BidirectionalConnectionByteTransceiver<INPUT,OUTPUT>, BidirectionalStreamConnectionByteTransceiver, BytesReceiver, BytesTransceiver, ConnectionBytesReceiver<CON>, ConnectionBytesTransceiver<CON>, InputStreamConnectionByteReceiver, TimeoutInputStreamAccessor.TimeoutInputStreamProperty
All Known Implementing Classes:
AbstractBytesReceiver, AbstractInputStreamByteReceiver, AbstractPrefetchInputStreamByteReceiver, BidirectionalStreamByteTransceiver, BidirectionalStreamConnectionByteTransceiverImpl, ByteArrayReceiver, BytesReceiverDecorator, InputStreamByteReceiver, InputStreamConnectionByteReceiverImpl, LoopbackBytesReceiver, LoopbackBytesTransceiver, PrefetchBidirectionalStreamByteTransceiver, PrefetchBidirectionalStreamConnectionByteTransceiver, PrefetchInputStreamByteReceiver, PrefetchInputStreamConnectionByteReceiver

public interface TimeoutInputStreamAccessor extends org.refcodes.mixin.InputStreamAccessor
Provides an accessor for an timeout input stream property.
  • Method Details

    • getInputStream

      TimeoutInputStream getInputStream(long aTimeoutMillis)
      Retrieves the timeout input stream from the timeout input stream property.
      Parameters:
      aTimeoutMillis - The default timeout for read operations not explicitly called with a timeout argument. With a value of -1 timeout handling is disabled (blocking mode).
      Returns:
      The timeout input stream stored by the timeout input stream property.