- All Known Subinterfaces:
SequenceNumberWidthAccessor.SequenceNumberWidthProperty
- All Known Implementing Classes:
PacketInputStream
,PacketOutputStream
,StopAndWaitPacketInputStream
,StopAndWaitPacketOutputStream
,TransmissionMetrics
public interface SequenceNumberWidthAccessor
Provides an accessor for a sequence number width (in bytes) property.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic 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.static interface
Provides a mutator for a sequence number width (in bytes) property.static interface
Provides a sequence number width (in bytes) property. -
Method Summary
Modifier and TypeMethodDescriptionint
Retrieves the sequence number width (in bytes) from the sequence number width (in bytes) property.
-
Method Details
-
getSequenceNumberWidth
int getSequenceNumberWidth()Retrieves the sequence number width (in bytes) from the sequence number width (in bytes) property.- Returns:
- The sequence number width (in bytes) stored by the sequence number width (in bytes) property.
-