Uses of Class
org.refcodes.serial.StopAndWaitSegmentDecorator.Builder
-
Uses of StopAndWaitSegmentDecorator.Builder in org.refcodes.serial
Methods in org.refcodes.serial that return StopAndWaitSegmentDecorator.BuilderModifier and TypeMethodDescriptionstatic <DECORATEE extends Segment>
StopAndWaitSegmentDecorator.Builder<DECORATEE>StopAndWaitSegmentDecorator.builder()Creates builder to buildStopAndWaitSegmentDecorator.static <DECORATEE extends Segment>
StopAndWaitSegmentDecorator.Builder<DECORATEE>SerialSugar.stopAndWaitSegmentBuilder()Constructs a builder to build an accordingStopAndWaitSegmentDecoratorinstance.StopAndWaitSegmentDecorator.Builder.withAcknowledgeMagicBytes(byte[] aAcknowledgeMagicBytes) Sets the magic bytes for the acknowledge magic bytes property.StopAndWaitSegmentDecorator.Builder.withAcknowledgeRetryNumber(int aAcknowledgeRetryNumber) Sets the number of retries for the acknowledge retry number.StopAndWaitSegmentDecorator.Builder.withAcknowledgeSegmentPackager(SegmentPackager aAcknowledgeSegmentPackager) Sets theSegmentPackagerACK property.StopAndWaitSegmentDecorator.Builder.withAcknowledgeTimeoutMillis(long aAckTimeoutInMs) Sets the number for the acknowledge timeout property.StopAndWaitSegmentDecorator.Builder.withChecksumValidationMode(org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode) StopAndWaitSegmentDecorator.Builder.withConcatenateMode(org.refcodes.mixin.ConcatenateMode aConcatenateMode) }StopAndWaitSegmentDecorator.Builder.withCrcAlgorithm(org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm) StopAndWaitSegmentDecorator.Builder.withDecoratee(DECORATEE aDecoratee) }StopAndWaitSegmentDecorator.Builder.withEndianess(org.refcodes.numerical.Endianess aEndianess) StopAndWaitSegmentDecorator.Builder.withSequenceNumberInitValue(int aSequenceNumberInitValue) Sets the sequence number initial value for the sequence number initial value property.StopAndWaitSegmentDecorator.Builder.withSequenceNumberWidth(int aSequenceNumberWidth) Sets the sequence number width (in bytes) for the sequence number width (in bytes) property.