Class TransmitSegmentConsumerDaemon<SEGMENT extends Segment>

java.lang.Object
org.refcodes.serial.TransmitSegmentConsumerDaemon<SEGMENT>
Type Parameters:
SEGMENT - The type of the Segment in question.
All Implemented Interfaces:
Runnable

public class TransmitSegmentConsumerDaemon<SEGMENT extends Segment> extends Object implements Runnable
  • Constructor Details

    • TransmitSegmentConsumerDaemon

      public TransmitSegmentConsumerDaemon(SegmentConsumer<SEGMENT> aSegmentConsumer, SEGMENT aSegment, SerialTransceiver aReceiver)
      Instantiates a new transmit segment consumer daemon.
      Parameters:
      aSegmentConsumer - the segment consumer
      aSegment - the segment
      aReceiver - the receiver
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable