public class SegmentPointerSenseKeySpecificData extends SenseKeySpecificData
SenseData
has the
value SenseKey.COPY_ABORTED
.senseKeySpecificDataValid, SIZE
Constructor and Description |
---|
SegmentPointerSenseKeySpecificData(boolean senseKeySpecificDataValid,
boolean segmentDescriptor,
boolean bitPointerValid,
int bitPointer,
int fieldPointer)
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 SegmentPointerSenseKeySpecificData(boolean senseKeySpecificDataValid, boolean segmentDescriptor, boolean bitPointerValid, int bitPointer, int fieldPointer)
All parameters are used to initialize the member variables with the same name.
senseKeySpecificDataValid
- segmentDescriptor
- bitPointerValid
- bitPointer
- fieldPointer
- 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.