ByteBlockProvider
, 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.ConnectionStatusAccessor
, org.refcodes.component.OpenedAccessor
, Receivable
, org.refcodes.mixin.Releaseable
BidirectionalConnectionByteTransceiver<INPUT,OUTPUT>
, BidirectionalStreamConnectionByteTransceiver
, ByteArrayReceiver
, ByteBlockTransceiver
, ByteReceiver
, ByteTransceiver
, ConnectionByteReceiver<CON>
, ConnectionByteTransceiver<CON>
, InputStreamConnectionByteReceiver
, LoopbackByteReceiver
, LoopbackByteTransceiver
AbstractByteReceiver
, AbstractInputStreamByteReceiver
, AbstractPrefetchInputStreamByteReceiver
, BidirectionalStreamByteTransceiverImpl
, BidirectionalStreamConnectionByteTransceiverImpl
, ByteArrayReceiverImpl
, ByteReceiverDecorator
, InputStreamByteReceiverImpl
, InputStreamConnectionByteReceiverImpl
, LoopbackByteReceiverImpl
, LoopbackByteTransceiverImpl
, PrefetchBidirectionalStreamByteTransceiverImpl
, PrefetchBidirectionalStreamConnectionByteTransceiverImpl
, PrefetchInputStreamByteReceiverImpl
, PrefetchInputStreamConnectionByteReceiverImpl
public interface ByteBlockReceiver extends ByteBlockProvider, Receivable
ByteBlockReceiver
is used to receive byte blocks (arrays) in a
unified way. The ByteBlockProvider.readDatagrams()
method provides the next available
byte block from the counterpart BlockSender
or DatagramSender
; in case there is none available, then this method halts until one is
available or the ByteBlockReceiver
is being shut down or the
underlying connection is closed. The Receivable.hasDatagram()
method returns
true in case a next byte(s) can be fetched via the ByteBlockProvider.readDatagrams()
method from the ByteBlockReceiver
counterpart.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
readDatagrams, readDatagrams
close, closeIn, closeQuietly, closeUnchecked
getConnectionStatus, isConnectionOpened
hasDatagram
Copyright © 2018. All rights reserved.