public final class ActualRetryCountSenseKeySpecificData extends SenseKeySpecificData
senseKeySpecificDataValid, SIZE
Constructor and Description |
---|
ActualRetryCountSenseKeySpecificData(boolean senseKeySpecificDataValid,
int actualRetryCount)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
serializeSpecificFields(ByteBuffer byteBuffer,
int index)
Serializes all fields which are not common to all sense-key-specific data, which means those that are
sub-type-specific.
|
serialize, size
public ActualRetryCountSenseKeySpecificData(boolean senseKeySpecificDataValid, int actualRetryCount)
senseKeySpecificDataValid
- true
if and only if the second actualRetryCount parameter is
validactualRetryCount
- the number of performed recovery attemptsprotected void serializeSpecificFields(ByteBuffer byteBuffer, int index)
SenseKeySpecificData
serializeSpecificFields
in class SenseKeySpecificData
byteBuffer
- where the serialized fields will be storedindex
- the position of the first byte of the sense data descriptor in the ByteBuffer
Copyright © 2013 University of Konstanz, Distributed Systems Group. All Rights Reserved.