@FunctionalInterface public interface ShortConsumer extends ShortDatagramConsumer, ShortBlockConsumer
Modifier and Type | Method and Description |
---|---|
default void |
writeDatagram(short aDatagram)
Writes (sends) a short.
|
default void |
writeDatagrams(short[] aDatagrams)
Writes (sends) a short block.
|
writeDatagrams
default void writeDatagram(short aDatagram) throws org.refcodes.component.OpenException
writeDatagram
in interface ShortDatagramConsumer
aDatagram
- The short to be pushed.org.refcodes.component.OpenException
- Thrown in case opening or accessing an open line
(connection, junction, link) caused problems.default void writeDatagrams(short[] aDatagrams) throws org.refcodes.component.OpenException
writeDatagrams
in interface ShortBlockConsumer
aDatagrams
- The short to be pushed.org.refcodes.component.OpenException
- Thrown in case opening or accessing an open line
(connection, junction, link) caused problems.Copyright © 2018. All rights reserved.