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.

@FunctionalInterface public interface ByteSource
The ByteSource is used to send bytes in a unified way.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    transmitByte(byte aByte)
    Writes (sends) a byte.
  • Method Details

    • transmitByte

      void transmitByte(byte aByte) throws IOException
      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.