Modifier and Type | Class | Description |
---|---|---|
class |
SequenceNumberSegment |
Convenience class for the
NumberSegment using
TransmissionMetrics sequence number related properties to configure
the SequenceNumberSegment (being an accordingly configured
NumberSegment ). |
Modifier and Type | Field | Description |
---|---|---|
protected NumberSegment |
AbstractStopAndWaitTransmissionDecorator._acknowledgeSequenceNumberSegment |
|
protected NumberSegment |
PacketInputStream._sequenceNumberSegment |
|
protected NumberSegment |
PacketOutputStream._sequenceNumberSegment |
Modifier and Type | Method | Description |
---|---|---|
static NumberSegment |
SerialSugar.numberSegment(int aNumberWidth) |
Constructs an empty
NumberSegment with a
TransmissionMetrics.DEFAULT_ENDIANESS endian representation of
the NumberSegment 's value. |
static NumberSegment |
SerialSugar.numberSegment(int aNumberWidth,
Long aValue) |
Constructs a
NumberSegment with the given long payload and a
TransmissionMetrics.DEFAULT_ENDIANESS endian representation of
the NumberSegment 's value. |
static NumberSegment |
SerialSugar.numberSegment(int aNumberWidth,
Long aValue,
org.refcodes.numerical.Endianess aEndianess) |
Constructs a
NumberSegment with the given long payload and the
given Endianess for the representation of the
NumberSegment '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 empty
NumberSegment with a
TransmissionMetrics.DEFAULT_ENDIANESS endian representation of
the NumberSegment 's value. |
static NumberSegment |
SerialSugar.numberSegment(int aNumberWidth,
String aAlias,
Long aValue) |
Constructs a
NumberSegment with the given long payload and a
TransmissionMetrics.DEFAULT_ENDIANESS endian representation of
the NumberSegment 's value. |
static NumberSegment |
SerialSugar.numberSegment(int aNumberWidth,
String aAlias,
Long aValue,
org.refcodes.numerical.Endianess aEndianess) |
Constructs a
NumberSegment with the given long payload and the
given Endianess for the representation of the
NumberSegment '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 empty
NumberSegment with the given
Endianess . |
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 empty
NumberSegment with the given
Endianess . |
static NumberSegment |
SerialSugar.numberSegment(int aNumberWidth,
TransmissionMetrics aTransmissionMetrics) |
Constructs an according instance from the given configuration.
|
NumberSegment |
NumberSegment.withPayload(Long aValue) |
|
NumberSegment |
NumberSegment.withValue(Long aValue) |
Copyright © 2021. All rights reserved.