Package org.refcodes.io
Interface ByteDatagramConsumer
-
- All Known Subinterfaces:
BidirectionalConnectionByteTransceiver<INPUT,OUTPUT>
,BidirectionalStreamConnectionByteTransceiver
,ByteArrayConsumer
,ByteConsumer
,ByteDatagramSender
,ByteDatagramTransceiver
,ByteSender
,ByteTransceiver
,ConnectionByteSender<CON>
,ConnectionByteTransceiver<CON>
,LoopbackByteSender
,LoopbackByteTransceiver
,OutputStreamConnectionByteSender
- All Known Implementing Classes:
AbstractByteSender
,BidirectionalStreamByteTransceiverImpl
,BidirectionalStreamConnectionByteTransceiverImpl
,ByteArrayConsumerImpl
,ByteSenderDecorator
,LoopbackByteSenderImpl
,LoopbackByteTransceiverImpl
,OutputStreamByteSenderImpl
,OutputStreamConnectionByteSenderImpl
,PrefetchBidirectionalStreamByteTransceiverImpl
,PrefetchBidirectionalStreamConnectionByteTransceiverImpl
- 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 ByteDatagramConsumer
TheByteDatagramConsumer
is used to send bytes in a unified way.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
writeDatagram(byte aDatagram)
Writes (sends) a byte.
-
-
-
Method Detail
-
writeDatagram
void writeDatagram(byte aDatagram) throws org.refcodes.component.OpenException
Writes (sends) a byte.- Parameters:
aDatagram
- The byte to be pushed.- Throws:
org.refcodes.component.OpenException
- Thrown in case opening or accessing an open line (connection, junction, link) caused problems.
-
-