- 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
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceSequenceNumberWidthAccessor.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 interfaceProvides a mutator for a sequence number width (in bytes) property.static interfaceProvides a sequence number width (in bytes) property. -
Method Summary
Modifier and TypeMethodDescriptionintRetrieves 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.
-