Uses of Interface
org.refcodes.serial.SegmentConsumer
-
Uses of SegmentConsumer in org.refcodes.serial
Methods in org.refcodes.serial with parameters of type SegmentConsumerModifier and TypeMethodDescription<SEGMENT extends Segment>
voidAbstractPort.doTransmitSegment(SEGMENT aSegment, SegmentConsumer<SEGMENT> aSegmentConsumer) <SEGMENT extends Segment>
voidAbstractPortDecorator.doTransmitSegment(SEGMENT aSegment, SegmentConsumer<SEGMENT> aSegmentConsumer) <SEGMENT extends Segment>
voidSegmentTransmitter.doTransmitSegment(SEGMENT aSegment, SegmentConsumer<SEGMENT> aSegmentConsumer) <SEGMENT extends Segment>
voidAbstractPort.onReceiveSegment(SEGMENT aSegment, SegmentConsumer<SEGMENT> aSegmentConsumer) Asynchronously receives aSegment'sSequencedata (does not block this thread) and updates theSegmentby invokingSegment.fromTransmission(Sequence), passing the result to the callbackonSegment(Segment).<SEGMENT extends Segment>
voidAbstractPortDecorator.onReceiveSegment(SEGMENT aSegment, SegmentConsumer<SEGMENT> aSegmentConsumer) Asynchronously receives aSegment'sSequencedata (does not block this thread) and updates theSegmentby invokingSegment.fromTransmission(Sequence), passing the result to the callbackonSegment(Segment).<SEGMENT extends Segment>
voidSegmentReceiver.onReceiveSegment(SEGMENT aSegment, SegmentConsumer<SEGMENT> aSegmentConsumer) Asynchronously receives aSegment'sSequencedata (does not block this thread) and updates theSegmentby invokingSegment.fromTransmission(Sequence), passing the result to the callbackonSegment(Segment).Constructors in org.refcodes.serial with parameters of type SegmentConsumerModifierConstructorDescriptionReceiveSegmentConsumerDaemon(SegmentConsumer<SEGMENT> aSegmentConsumer, SEGMENT aSegment, SerialTransceiver aSerialTransceiver) Instantiates a new receive segment consumer daemon.TransmitSegmentConsumerDaemon(SegmentConsumer<SEGMENT> aSegmentConsumer, SEGMENT aSegment, SerialTransceiver aReceiver) Instantiates a new transmit segment consumer daemon.