public final class ProgressIndicationSenseKeySpecificData extends SenseKeySpecificData
FORMAT UNIT
).senseKeySpecificDataValid, SIZE
Constructor and Description |
---|
ProgressIndicationSenseKeySpecificData(boolean senseKeySpecificDataValid,
int progressIndication)
The consctructor.
|
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 ProgressIndicationSenseKeySpecificData(boolean senseKeySpecificDataValid, int progressIndication)
senseKeySpecificDataValid
- true
if and only if the progressIndication parameter is to
be considered validprogressIndication
- specifies the progress, the integer must lie in the interval [0, 65536]protected 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.