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