Module org.refcodes.serial
Package org.refcodes.serial
Class TransmitSegmentConsumerDaemon<SEGMENT extends Segment>
java.lang.Object
org.refcodes.serial.TransmitSegmentConsumerDaemon<SEGMENT>
- Type Parameters:
SEGMENT
- The type of theSegment
in question.
- All Implemented Interfaces:
Runnable
public class TransmitSegmentConsumerDaemon<SEGMENT extends Segment>
extends Object
implements Runnable
A daemon handling
SegmentTransmitter.doTransmitSegment(Segment, SegmentConsumer)
asynchronous calls.-
Constructor Summary
ConstructorDescriptionTransmitSegmentConsumerDaemon
(SegmentConsumer<SEGMENT> aSegmentConsumer, SEGMENT aSegment, SerialTransceiver aReceiver) Instantiates a new transmit segment consumer daemon. -
Method Summary
-
Constructor Details
-
TransmitSegmentConsumerDaemon
public TransmitSegmentConsumerDaemon(SegmentConsumer<SEGMENT> aSegmentConsumer, SEGMENT aSegment, SerialTransceiver aReceiver) Instantiates a new transmit segment consumer daemon.- Parameters:
aSegmentConsumer
- the segment consumeraSegment
- the segmentaReceiver
- the receiver
-
-
Method Details