Uses of Class
org.refcodes.serial.StopAndWaitPacketStreamSectionDecorator
-
Uses of StopAndWaitPacketStreamSectionDecorator in org.refcodes.serial
Methods in org.refcodes.serial that return StopAndWaitPacketStreamSectionDecoratorModifier and TypeMethodDescriptionStopAndWaitPacketStreamSectionDecorator.Builder.build()
Returns theStopAndWaitSegmentDecorator
instance build according to theStopAndWaitPacketStreamSectionDecorator.Builder
configuration.static <DECORATEE extends Section>
StopAndWaitPacketStreamSectionDecorator<DECORATEE>SerialSugar.stopAndWaitPacketStreamSection
(DECORATEE aDecoratee, int aBlockSize, int aPacketLengthWidth, byte[] aPacketMagicBytes, byte[] aLastPacketMagicBytes, int aSequenceNumberInitValue, int aSequenceNumberWidth, org.refcodes.mixin.ConcatenateMode aSequenceNumberConcatenateMode, SegmentPackager aPacketSegmentPackager, byte[] aAcknowledgeMagicBytes, int aAckRetryNumber, long aAckTimeoutInMs, SegmentPackager aAckSegmentPackager, org.refcodes.numerical.Endianess aEndianess) Constructs an according packet-stream decorator instance wrapping the givenOutputStream
.static <DECORATEE extends Section>
StopAndWaitPacketStreamSectionDecorator<DECORATEE>SerialSugar.stopAndWaitPacketStreamSection
(DECORATEE aDecoratee, TransmissionMetrics aTransmissionMetrics) Constructs an according packet-stream decorator instance wrapping the givenOutputStream
.