org.refcodes.component.Closable
, org.refcodes.component.Closable.CloseAutomaton
, org.refcodes.component.ClosedAccessor
, org.refcodes.component.ConnectableComponent
, org.refcodes.component.ConnectableComponent.ConnectableAutomaton
, org.refcodes.component.ConnectionComponent<InputStream>
, org.refcodes.component.ConnectionComponent.ConnectionAutomaton<InputStream>
, org.refcodes.component.ConnectionOpenable<InputStream>
, org.refcodes.component.ConnectionOpenable.ConnectionOpenAutomaton<InputStream>
, org.refcodes.component.ConnectionStatusAccessor
, org.refcodes.component.OpenedAccessor
, Availability
, ByteDestination
, ByteReceiver
, BytesDestination
, BytesReceiver
, ConnectionBytesReceiver<InputStream>
, InputStreamConnectionByteReceiver
, Receivable
, Skippable
, TimeoutInputStreamAccessor
, org.refcodes.mixin.InputStreamAccessor
public class InputStreamConnectionByteReceiverImpl extends AbstractInputStreamByteReceiver implements InputStreamConnectionByteReceiver
InputStreamConnectionReceiver
interface.BytesReceiver.ReceiverInputStream
org.refcodes.component.Closable.CloseAutomaton, org.refcodes.component.Closable.CloseBuilder<B extends org.refcodes.component.Closable.CloseBuilder<B>>
org.refcodes.component.ClosedAccessor.ClosedMutator, org.refcodes.component.ClosedAccessor.ClosedProperty
org.refcodes.component.ConnectableComponent.ConnectableAutomaton
org.refcodes.component.ConnectionComponent.ConnectionAutomaton<CON extends Object>, org.refcodes.component.ConnectionComponent.ConnectionComponentBuilder<CON extends Object,B extends org.refcodes.component.ConnectionComponent.ConnectionComponentBuilder<CON,B>>
org.refcodes.component.ConnectionOpenable.ConnectionOpenAutomaton<CON extends Object>, org.refcodes.component.ConnectionOpenable.ConnectionOpenBuilder<CON extends Object,B extends org.refcodes.component.ConnectionOpenable.ConnectionOpenBuilder<CON,B>>
org.refcodes.component.ConnectionStatusAccessor.ConnectionStatusMutator, org.refcodes.component.ConnectionStatusAccessor.ConnectionStatusProperty
org.refcodes.mixin.InputStreamAccessor.InputStreamBuilder<B extends org.refcodes.mixin.InputStreamAccessor.InputStreamBuilder<?>>, org.refcodes.mixin.InputStreamAccessor.InputStreamMutator, org.refcodes.mixin.InputStreamAccessor.InputStreamProperty
org.refcodes.component.OpenedAccessor.OpenedMutator, org.refcodes.component.OpenedAccessor.OpenedProperty
TimeoutInputStreamAccessor.TimeoutInputStreamBuilder<B extends TimeoutInputStreamAccessor.TimeoutInputStreamBuilder<?>>, TimeoutInputStreamAccessor.TimeoutInputStreamMutator, TimeoutInputStreamAccessor.TimeoutInputStreamProperty
Constructor | Description |
---|---|
InputStreamConnectionByteReceiverImpl() |
Modifier and Type | Method | Description |
---|---|---|
boolean |
isOpenable(InputStream aInputStream) |
Checks if is openable.
|
void |
open(InputStream aInputStream) |
Open, see
ConnectionOpenable.open(Object) . |
getConnectionStatus, isClosable, isClosed, isOpenable, isOpened, open, setConnectionStatus
available, close, receiveByte
available, hasAvailable
receiveByte, receiveBytes
getInputStream, getInputStream, receiveAllBytes, receiveBytes, receiveBytesWithin, receiveBytesWithin, receiveByteWithin, skip
close, closeIn, closeQuietly, closeUnchecked
getConnectionStatus, isOpened
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
available, skipAvailable, skipAvailableExcept, skipAvailableTill, skipAvailableTillSilenceFor, skipAvailableTillSilenceFor, skipAvailableWithin, skipAvailableWithin
public InputStreamConnectionByteReceiverImpl()
public void open(InputStream aInputStream) throws IOException
ConnectionOpenable.open(Object)
.open
in interface org.refcodes.component.ConnectionOpenable<InputStream>
open
in class AbstractInputStreamByteReceiver
aInputStream
- the input streamIOException
- the open exceptionpublic boolean isOpenable(InputStream aInputStream)
ConnectionOpenable.ConnectionOpenAutomaton.isOpenable(Object)
.isOpenable
in interface org.refcodes.component.ConnectionOpenable.ConnectionOpenAutomaton<InputStream>
isOpenable
in class AbstractInputStreamByteReceiver
aInputStream
- the input streamCopyright © 2021. All rights reserved.