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<LoopbackShortSender>, org.refcodes.component.ConnectionComponent.ConnectionAutomaton<LoopbackShortSender>, org.refcodes.component.ConnectionOpenable<LoopbackShortSender>, org.refcodes.component.ConnectionOpenable.ConnectionOpenAutomaton<LoopbackShortSender>, ConnectionShortReceiver<LoopbackShortSender>, org.refcodes.component.ConnectionStatusAccessor, org.refcodes.component.OpenedAccessor, Receivable, org.refcodes.mixin.Releaseable, ShortBlockProvider, ShortBlockReceiver, ShortDatagramProvider, ShortDatagramReceiver, ShortProvider, ShortReceiverLoopbackShortReceiverImplpublic interface LoopbackShortReceiver extends ConnectionShortReceiver<LoopbackShortSender>
LoopbackShortReceiver is a DatagramReceiver connected
directly within the same JVM with a LoopbackShortSender; a "loopback"
connection is used for establishing the connection which cannot be accessed
outside the JVM or the running machine.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.ConnectableAutomatonorg.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>>| Modifier and Type | Method | Description |
|---|---|---|
void |
pushDatagram(short aDatagram) |
Pushes a datagram into the
LoopbackShortReceiver. |
default void |
pushDatagrams(short[] aDatagrams) |
Pushes the datagrams into the
LoopbackByteReceiver. |
default void |
pushDatagrams(short[] aDatagrams,
int aOffset,
int aLength) |
Pushes the according number of datagrams beginning at the given offset
into the
LoopbackByteReceiver. |
close, closeIn, closeQuietly, closeUncheckedisOpenablegetConnectionStatus, isConnectionOpenedhasDatagramreadDatagramreadDatagrams, readDatagramsvoid pushDatagram(short aDatagram)
throws org.refcodes.component.OpenException
LoopbackShortReceiver. Them datagrams
can be retrieved via ShortDatagramProvider.readDatagram(): use Receivable.hasDatagram()
to test beforehand whether there is a datagram available.aDatagram - The datagram to be pushed into the
LoopbackShortReceiver; to be retrieved with the
ShortDatagramProvider.readDatagram() method.org.refcodes.component.OpenException - the open exceptiondefault void pushDatagrams(short[] aDatagrams)
throws org.refcodes.component.OpenException
LoopbackByteReceiver. Them
datagrams can be retrieved via ShortDatagramProvider.readDatagram(): use
Receivable.hasDatagram() to test beforehand whether there is a datagram
available.aDatagrams - The datagrams to be pushed into the
LoopbackByteReceiver; to be retrieved with the
ShortDatagramProvider.readDatagram() method.org.refcodes.component.OpenException - the open exceptiondefault void pushDatagrams(short[] aDatagrams,
int aOffset,
int aLength)
throws org.refcodes.component.OpenException
LoopbackByteReceiver. Them datagrams can be retrieved
via ShortDatagramProvider.readDatagram(): use Receivable.hasDatagram() to test
beforehand whether there is a datagram available.aDatagrams - The datagrams to be pushed into the
LoopbackByteReceiver; to be retrieved with the
ShortDatagramProvider.readDatagram() method.aOffset - The offset from which to begin pushing.aLength - The number of elements to be pushed.org.refcodes.component.OpenException - the open exceptionCopyright © 2018. All rights reserved.