public class Write10Cdb extends WriteCdb
WRITE (6) SCSI command.| Constructor and Description |
|---|
Write10Cdb(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. |
protected int |
getTransferLengthFieldIndex()
Returns the index position of the first byte used for encoding the
ReadOrWriteCdb.transferLength field. |
int |
getWriteProtect() |
addIllegalFieldPointerForLogicalBlockAddress, addIllegalFieldPointerForTransferLength, getLogicalBlockAddress, getTransferLengthaddIllegalFieldPointer, addIllegalFieldPointer, getIllegalFieldPointers, getScsiOperationCode, isNormalACApublic Write10Cdb(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 getWriteProtect()
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.