public final class Read10Cdb extends ReadCdb
READ (10)
SCSI command.
The READ (10) command requests that the device server to read the specified logical block(s) and
transfer them to the data-in buffer.
Each logical block read includes user data and, if the medium is formatted with protection information enabled, protection information. Each logical block transferred includes user data and may include protection information, based on the RDPROTECT field and the medium format.
| Constructor and Description |
|---|
Read10Cdb(ByteBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
protected long |
deserializeLogicalBlockAddress(ByteBuffer buffer)
Deserializes the value of the
ReadOrWriteCdb.logicalBlockAddress field. |
protected int |
deserializeTransferLength(ByteBuffer buffer)
Deserializes the value of the
ReadOrWriteCdb.transferLength field. |
boolean |
disablePageOut() |
boolean |
getForceUnitAccess() |
boolean |
getForceUnitAccessNonVolatile() |
int |
getGroupNumber() |
protected int |
getLogicalBlockAddressFieldIndex()
Returns the index position of the first byte used for encoding the
ReadOrWriteCdb.logicalBlockAddress field. |
int |
getReadProtect() |
protected int |
getTransferLengthFieldIndex()
Returns the index position of the first byte used for encoding the
ReadOrWriteCdb.transferLength field. |
addIllegalFieldPointerForLogicalBlockAddress, addIllegalFieldPointerForTransferLength, getLogicalBlockAddress, getTransferLengthaddIllegalFieldPointer, addIllegalFieldPointer, getIllegalFieldPointers, getScsiOperationCode, isNormalACApublic Read10Cdb(ByteBuffer buffer)
protected long deserializeLogicalBlockAddress(ByteBuffer buffer)
ReadOrWriteCdbReadOrWriteCdb.logicalBlockAddress field.deserializeLogicalBlockAddress in class ReadOrWriteCdbbuffer - the ByteBuffer containing the CDBReadOrWriteCdb.logicalBlockAddress fieldprotected int deserializeTransferLength(ByteBuffer buffer)
ReadOrWriteCdbReadOrWriteCdb.transferLength field.deserializeTransferLength in class ReadOrWriteCdbbuffer - the ByteBuffer containing the CDBReadOrWriteCdb.transferLength fieldpublic int getReadProtect()
public boolean disablePageOut()
public boolean getForceUnitAccess()
public boolean getForceUnitAccessNonVolatile()
public int getGroupNumber()
protected int getLogicalBlockAddressFieldIndex()
ReadOrWriteCdbReadOrWriteCdb.logicalBlockAddress field.getLogicalBlockAddressFieldIndex in class ReadOrWriteCdbReadOrWriteCdb.logicalBlockAddress fieldprotected int getTransferLengthFieldIndex()
ReadOrWriteCdbReadOrWriteCdb.transferLength field.getTransferLengthFieldIndex in class ReadOrWriteCdbReadOrWriteCdb.transferLength fieldCopyright © 2013 University of Konstanz, Distributed Systems Group. All Rights Reserved.