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
, ShortBlockProvider
ConnectionShortReceiver<CON>
, ConnectionShortTransceiver<CON>
, LoopbackShortReceiver
, LoopbackShortTransceiver
, ShortReceiver
, ShortTransceiver
AbstractShortReceiver
, LoopbackShortReceiverImpl
, LoopbackShortTransceiverImpl
, ShortArrayReceiverImpl
, ShortReceiverDecorator
public interface ShortBlockReceiver extends ShortBlockProvider, Receivable
ShortBlockReceiver
is used to receive short blocks (arrays) in a
unified way. The ShortBlockProvider.readDatagrams()
method provides the next available
short block from the counterpart BlockSender
or
DatagramSender
; in case there is none available, then this method
halts until one is available or the ShortBlockReceiver
is being shut
down or the underlying connection is closed. The Receivable.hasDatagram()
method returns true in case a next short(s) can be fetched via the
ShortBlockProvider.readDatagrams()
method from the ShortBlockReceiver
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
close, closeIn, closeQuietly, closeUnchecked
getConnectionStatus, isConnectionOpened
hasDatagram
readDatagrams, readDatagrams
Copyright © 2018. All rights reserved.