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, sizepublic 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)
SenseKeySpecificDataserializeSpecificFields in class SenseKeySpecificDatabyteBuffer - where the serialized fields will be storedindex - the position of the first byte of the sense data descriptor in the ByteBufferCopyright © 2013 University of Konstanz, Distributed Systems Group. All Rights Reserved.