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