public interface ShortSender extends ShortConsumer, ShortDatagramSender, ShortBlockSender
org.refcodes.component.ConnectableComponent.ConnectableAutomaton
org.refcodes.component.OpenedAccessor.OpenedMutator, org.refcodes.component.OpenedAccessor.OpenedProperty
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
Modifier and Type | Method and Description |
---|---|
default void |
flush() |
default void |
writeDatagrams(short[] aDatagrams,
int aOffset,
int aLength)
Writes (sends) a short block.
|
writeDatagram, writeDatagrams
close, closeIn, closeQuietly, closeUnchecked
default void writeDatagrams(short[] aDatagrams, int aOffset, int aLength) throws org.refcodes.component.OpenException
writeDatagrams
in interface ShortBlockConsumer
aDatagrams
- The short to be pushed.aOffset
- The offset from which to take the data.aLength
- The number of elements to push starting at the given
offset.org.refcodes.component.OpenException
- Thrown in case opening or accessing an open line
(connection, junction, link) caused problems.Copyright © 2018. All rights reserved.