DATA - The type of the datagram block (array) to be operated with. Do
not provide an array type as the methods use to generic type for
defining an array argument.BlockProvider<DATA>, 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.ReleaseableBidirectionalConnectionTransceiver<DATA,INPUT,OUTPUT>, BidirectionalStreamConnectionTransceiver<DATA>, BlockTransceiver<DATA>, ConnectionReceiver<DATA,CON>, ConnectionTransceiver<DATA,CON>, InputStreamConnectionReceiver<DATA>, LoopbackReceiver<DATA>, LoopbackTransceiver<DATA>, Receiver<DATA>, Transceiver<DATA>AbstractInputStreamReceiver, AbstractPrefetchInputStreamReceiver, AbstractReceiver, BidirectionalStreamConnectionTransceiverImpl, BidirectionalStreamTransceiverImpl, InputStreamConnectionReceiverImpl, InputStreamReceiverImpl, LoopbackReceiverImpl, LoopbackTransceiverImpl, PrefetchBidirectionalStreamConnectionTransceiverImpl, PrefetchBidirectionalStreamTransceiverImpl, PrefetchInputStreamConnectionReceiverImpl, PrefetchInputStreamReceiverImpl, ReceiverDecoratorpublic interface BlockReceiver<DATA extends Serializable> extends BlockProvider<DATA>, Receivable
BlockReceiver is used to receive datagram blocks (arrays) in a
unified way. The BlockProvider.readDatagrams() method provides the next available
datagram block from the counterpart BlockSender or
DatagramSender; in case there is none available, then this method
halts until one is available or the BlockReceiver is being shut down
or the underlying connection is closed. The Receivable.hasDatagram() method
returns true in case a next datagram(s) can be fetched via the
BlockProvider.readDatagrams() method from the BlockReceiver 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.ClosedPropertyorg.refcodes.component.ConnectableComponent.ConnectableAutomatonreadDatagrams, readDatagramsclose, closeIn, closeQuietly, closeUncheckedgetConnectionStatus, isConnectionOpenedhasDatagramCopyright © 2018. All rights reserved.