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, org.refcodes.mixin.ReleaseableBidirectionalConnectionByteTransceiver<INPUT,OUTPUT>, BidirectionalConnectionTransceiver<DATA,INPUT,OUTPUT>, BidirectionalStreamConnectionByteTransceiver, BidirectionalStreamConnectionTransceiver<DATA>, BlockReceiver<DATA>, BlockTransceiver<DATA>, ByteArrayReceiver, ByteBlockReceiver, ByteBlockTransceiver, ByteDatagramReceiver, ByteDatagramTransceiver, ByteReceiver, ByteTransceiver, ConnectionByteReceiver<CON>, ConnectionByteTransceiver<CON>, ConnectionReceiver<DATA,CON>, ConnectionShortReceiver<CON>, ConnectionShortTransceiver<CON>, ConnectionTransceiver<DATA,CON>, DatagramReceiver<DATA>, DatagramTransceiver<DATA>, InputStreamConnectionByteReceiver, InputStreamConnectionReceiver<DATA>, LoopbackByteReceiver, LoopbackByteTransceiver, LoopbackReceiver<DATA>, LoopbackShortReceiver, LoopbackShortTransceiver, LoopbackTransceiver<DATA>, Receiver<DATA>, ShortBlockReceiver, ShortDatagramReceiver, ShortReceiver, ShortTransceiver, Transceiver<DATA>AbstractByteReceiver, AbstractInputStreamByteReceiver, AbstractInputStreamReceiver, AbstractPrefetchInputStreamByteReceiver, AbstractPrefetchInputStreamReceiver, AbstractReceiver, AbstractShortReceiver, BidirectionalStreamByteTransceiverImpl, BidirectionalStreamConnectionByteTransceiverImpl, BidirectionalStreamConnectionTransceiverImpl, BidirectionalStreamTransceiverImpl, ByteArrayReceiverImpl, ByteReceiverDecorator, InputStreamByteReceiverImpl, InputStreamConnectionByteReceiverImpl, InputStreamConnectionReceiverImpl, InputStreamReceiverImpl, LoopbackByteReceiverImpl, LoopbackByteTransceiverImpl, LoopbackReceiverImpl, LoopbackShortReceiverImpl, LoopbackShortTransceiverImpl, LoopbackTransceiverImpl, PrefetchBidirectionalStreamByteTransceiverImpl, PrefetchBidirectionalStreamConnectionByteTransceiverImpl, PrefetchBidirectionalStreamConnectionTransceiverImpl, PrefetchBidirectionalStreamTransceiverImpl, PrefetchInputStreamByteReceiverImpl, PrefetchInputStreamConnectionByteReceiverImpl, PrefetchInputStreamConnectionReceiverImpl, PrefetchInputStreamReceiverImpl, ReceiverDecorator, ShortArrayReceiverImpl, ShortReceiverDecoratorpublic interface Receivable
extends org.refcodes.component.ConnectableComponent.ConnectableAutomaton, org.refcodes.mixin.Releaseable
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.ConnectableAutomaton| Modifier and Type | Method | Description |
|---|---|---|
boolean |
hasDatagram() |
Determines whether a datagram is available from a
DatagramSender. |
close, closeIn, closeQuietly, closeUncheckedboolean hasDatagram()
throws org.refcodes.component.OpenException
DatagramSender.
Use the DatagramProvider extenison's
DatagramProvider.readDatagram() method for retrieving the
available datagram.org.refcodes.component.OpenException - Thrown in case opening or accessing an open line
(connection, junction, link) caused problems.Copyright © 2018. All rights reserved.