Package org.refcodes.io
Interface ShortDatagramConsumer
-
- All Known Subinterfaces:
ConnectionShortSender<CON>
,ConnectionShortTransceiver<CON>
,LoopbackShortSender
,LoopbackShortTransceiver
,ShortConsumer
,ShortDatagramSender
,ShortSender
,ShortTransceiver
- All Known Implementing Classes:
AbstractShortSender
,LoopbackShortSenderImpl
,LoopbackShortTransceiverImpl
,ShortSenderDecorator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ShortDatagramConsumer
TheShortDatagramConsumer
is used to send shorts in a unified way.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
writeDatagram(short aDatagram)
Writes (sends) a short.
-
-
-
Method Detail
-
writeDatagram
void writeDatagram(short aDatagram) throws org.refcodes.component.OpenException
Writes (sends) a short.- Parameters:
aDatagram
- The short to be pushed.- Throws:
org.refcodes.component.OpenException
- Thrown in case opening or accessing an open line (connection, junction, link) caused problems.
-
-