Class ScsiTestUnitReady
- java.lang.Object
-
- com.github.mjdev.libaums.driver.scsi.commands.CommandBlockWrapper
-
- com.github.mjdev.libaums.driver.scsi.commands.ScsiTestUnitReady
-
public class ScsiTestUnitReady extends CommandBlockWrapper
This command is used to determine if the logical unit of the mass storage device is ready. Sometimes this command fails even if the unit can process all commands successfully. Thus this command issues only a warning in theScsiBlockDevice.This command has no data phase, the result is determined by
#getbCswStatus().
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.github.mjdev.libaums.driver.scsi.commands.CommandBlockWrapper
CommandBlockWrapper.Direction
-
-
Field Summary
-
Fields inherited from class com.github.mjdev.libaums.driver.scsi.commands.CommandBlockWrapper
dCbwDataTransferLength
-
-
Constructor Summary
Constructors Constructor Description ScsiTestUnitReady()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidserialize(java.nio.ByteBuffer buffer)Serializes the command block wrapper for transmission.-
Methods inherited from class com.github.mjdev.libaums.driver.scsi.commands.CommandBlockWrapper
getdCbwDataTransferLength, getdCbwTag, getDirection, setdCbwTag
-
-
-
-
Method Detail
-
serialize
public void serialize(java.nio.ByteBuffer buffer)
Description copied from class:CommandBlockWrapperSerializes the command block wrapper for transmission.This method should be called in every subclass right before the specific SCSI command serializes itself to the buffer!
- Overrides:
serializein classCommandBlockWrapper- Parameters:
buffer- The buffer were the serialized data should be copied to.
-
-