Uses of Class
org.refcodes.serial.PacketInputStream.Builder
-
Uses of PacketInputStream.Builder in org.refcodes.serial
Modifier and TypeClassDescriptionstatic class
Builder to buildStopAndWaitPacketInputStream
instances.Modifier and TypeMethodDescriptionstatic PacketInputStream.Builder
PacketInputStream.builder()
Creates builder to buildPacketInputStream
.PacketInputStream.Builder.withBlockSize
(int aBlockSize) PacketInputStream.Builder.withChecksumValidationMode
(org.refcodes.numerical.ChecksumValidationMode aChecksumValidationMode) PacketInputStream.Builder.withCrcAlgorithm
(org.refcodes.numerical.CrcAlgorithm aCrcAlgorithm) PacketInputStream.Builder.withCrcChecksumConcatenateMode
(org.refcodes.mixin.ConcatenateMode aCrcChecksumConcatenateMode) PacketInputStream.Builder.withEndianess
(org.refcodes.numerical.Endianess aEndianess) PacketInputStream.Builder.withInputStream
(InputStream aInputStream) PacketInputStream.Builder.withPacketLengthWidth
(int aPacketLengthWidth) Sets the packet length width (in bytes) for the packet length width (in bytes) property.PacketInputStream.Builder.withPacketMagicBytes
(byte[] aPacketMagicBytes) Sets the magic bytes for the packet magic bytes property.PacketInputStream.Builder.withPacketSegmentPackager
(SegmentPackager aPacketSegmentPackager) Sets theSegmentPackager
for the packetSegmentPackager
property.PacketInputStream.Builder.withSequenceNumberConcatenateMode
(org.refcodes.mixin.ConcatenateMode aSequenceNumberConcatenateMode) Sets theConcatenateMode
for the sequence numberConcatenateMode
property.PacketInputStream.Builder.withSequenceNumberInitValue
(int aSequenceNumberInitValue) Sets the sequence number initial value for the sequence number initial value property.PacketInputStream.Builder.withSequenceNumberWidth
(int aSequenceNumberWidth) Sets the sequence number width (in bytes) for the sequence number width (in bytes) property.