Module org.refcodes.serial
Package org.refcodes.serial
Interface SequenceNumberWidthAccessor.SequenceNumberWidthBuilder<B extends SequenceNumberWidthAccessor.SequenceNumberWidthBuilder<B>>
- Type Parameters:
B- The builder to return in order to be able to apply multiple build operations.
- All Known Implementing Classes:
PacketInputStream.Builder,PacketOutputStream.Builder,StopAndWaitPacketInputStream.Builder,StopAndWaitPacketOutputStream.Builder,StopAndWaitPacketStreamSectionDecorator.Builder,StopAndWaitPacketStreamSegmentDecorator.Builder,StopAndWaitSectionDecorator.Builder,StopAndWaitSegmentDecorator.Builder,TransmissionMetrics.Builder
- Enclosing interface:
- SequenceNumberWidthAccessor
public static interface SequenceNumberWidthAccessor.SequenceNumberWidthBuilder<B extends SequenceNumberWidthAccessor.SequenceNumberWidthBuilder<B>>
Provides a builder method for a sequence number width (in bytes) property
returning the builder for applying multiple build operations.
-
Method Summary
Modifier and TypeMethodDescriptionwithSequenceNumberWidth(int aSequenceNumberWidth) Sets the sequence number width (in bytes) for the sequence number width (in bytes) property.
-
Method Details
-
withSequenceNumberWidth
Sets the sequence number width (in bytes) for the sequence number width (in bytes) property.- Parameters:
aSequenceNumberWidth- The sequence number width (in bytes) to be stored by the sequence number width (in bytes) property.- Returns:
- The builder for applying multiple build operations.
-