Interface ByteSource
- All Known Subinterfaces:
BidirectionalConnectionByteTransceiver<INPUT,OUTPUT>, BidirectionalStreamConnectionByteTransceiver, BytesSource, BytesTransceiver, BytesTransmitter, ByteTransceiver, ByteTransmitter, ConnectionBytesTransceiver<CON>, ConnectionBytesTransmitter<CON>
- All Known Implementing Classes:
AbstractBytesTransmitter, BidirectionalStreamByteTransceiver, BidirectionalStreamConnectionByteTransceiverImpl, ByteArraySource, ByteTransmitterDecorator, LoopbackBytesTransceiver, LoopbackBytesTransmitter, OutputStreamBytesTransmitter, OutputStreamConnectionBytesTransmitter, PrefetchBidirectionalStreamByteTransceiver, PrefetchBidirectionalStreamConnectionByteTransceiver
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
The
ByteSource is used to send bytes in a unified way.-
Method Summary
-
Method Details
-
transmitByte
Writes (sends) a byte.- Parameters:
aByte- The byte to be pushed.- Throws:
IOException- Thrown in case opening or accessing an open line (connection, junction, link) caused problems.
-