Uses of Class
org.refcodes.serial.NumberSegment
-
Uses of NumberSegment in org.refcodes.serial
Modifier and TypeClassDescriptionclass
Convenience class for theNumberSegment
usingTransmissionMetrics
sequence number related properties to configure theSequenceNumberSegment
(being an accordingly configuredNumberSegment
).Modifier and TypeFieldDescriptionprotected NumberSegment
AbstractStopAndWaitTransmissionDecorator._acknowledgeSequenceNumberSegment
protected NumberSegment
PacketInputStream._sequenceNumberSegment
protected NumberSegment
PacketOutputStream._sequenceNumberSegment
Modifier and TypeMethodDescriptionstatic NumberSegment
SerialSugar.numberSegment
(int aNumberWidth) Constructs an emptyNumberSegment
with aTransmissionMetrics.DEFAULT_ENDIANESS
endian representation of theNumberSegment
's value.static NumberSegment
SerialSugar.numberSegment
(int aNumberWidth, Long aValue) Constructs aNumberSegment
with the given long payload and aTransmissionMetrics.DEFAULT_ENDIANESS
endian representation of theNumberSegment
's value.static NumberSegment
SerialSugar.numberSegment
(int aNumberWidth, Long aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aNumberSegment
with the given long payload and the givenEndianess
for the representation of theNumberSegment
's value (payload).static NumberSegment
SerialSugar.numberSegment
(int aNumberWidth, Long aValue, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static NumberSegment
SerialSugar.numberSegment
(int aNumberWidth, String aAlias) Constructs an emptyNumberSegment
with aTransmissionMetrics.DEFAULT_ENDIANESS
endian representation of theNumberSegment
's value.static NumberSegment
SerialSugar.numberSegment
(int aNumberWidth, String aAlias, Long aValue) Constructs aNumberSegment
with the given long payload and aTransmissionMetrics.DEFAULT_ENDIANESS
endian representation of theNumberSegment
's value.static NumberSegment
SerialSugar.numberSegment
(int aNumberWidth, String aAlias, Long aValue, org.refcodes.numerical.Endianess aEndianess) Constructs aNumberSegment
with the given long payload and the givenEndianess
for the representation of theNumberSegment
's value (payload).static NumberSegment
SerialSugar.numberSegment
(int aNumberWidth, String aAlias, Long aValue, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static NumberSegment
SerialSugar.numberSegment
(int aNumberWidth, String aAlias, org.refcodes.numerical.Endianess aEndianess) Constructs an emptyNumberSegment
with the givenEndianess
.static NumberSegment
SerialSugar.numberSegment
(int aNumberWidth, String aAlias, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.static NumberSegment
SerialSugar.numberSegment
(int aNumberWidth, org.refcodes.numerical.Endianess aEndianess) Constructs an emptyNumberSegment
with the givenEndianess
.static NumberSegment
SerialSugar.numberSegment
(int aNumberWidth, TransmissionMetrics aTransmissionMetrics) Constructs an according instance from the given configuration.NumberSegment.withPayload
(Long aValue)