Module org.refcodes.serial
Package org.refcodes.serial
Interface PacketLengthWidthAccessor.PacketLengthWidthBuilder<B extends PacketLengthWidthAccessor.PacketLengthWidthBuilder<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,TransmissionMetrics.Builder
- Enclosing interface:
- PacketLengthWidthAccessor
public static interface PacketLengthWidthAccessor.PacketLengthWidthBuilder<B extends PacketLengthWidthAccessor.PacketLengthWidthBuilder<B>>
Provides a builder method for a packet length width (in bytes) property
returning the builder for applying multiple build operations.
-
Method Summary
Modifier and TypeMethodDescriptionwithPacketLengthWidth(int aPacketLengthWidth) Sets the packet length width (in bytes) for the packet length width (in bytes) property.
-
Method Details
-
withPacketLengthWidth
Sets the packet length width (in bytes) for the packet length width (in bytes) property.- Parameters:
aPacketLengthWidth- The packet length width (in bytes) to be stored by the packet length width (in bytes) property.- Returns:
- The builder for applying multiple build operations.
-