Class ScsiRequestSense
- java.lang.Object
-
- com.github.mjdev.libaums.driver.scsi.commands.CommandBlockWrapper
-
- com.github.mjdev.libaums.driver.scsi.commands.ScsiRequestSense
-
public class ScsiRequestSense extends CommandBlockWrapper
This class is used to issue a SCSI request sense when a command has failed.- See Also:
#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 ScsiRequestSense(byte allocationLength)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
serialize(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:CommandBlockWrapper
Serializes 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:
serialize
in classCommandBlockWrapper
- Parameters:
buffer
- The buffer were the serialized data should be copied to.
-
-