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