Class ScsiInquiry
- java.lang.Object
-
- com.github.mjdev.libaums.driver.scsi.commands.CommandBlockWrapper
-
- com.github.mjdev.libaums.driver.scsi.commands.ScsiInquiry
-
public class ScsiInquiry extends CommandBlockWrapper
This class represents a SCSI Inquiry command. It is used to get important information about the connected mass storage device. This information include the supported SCSI commands.The response is sent in the data phase.
- See Also:
ScsiInquiryResponse
-
-
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 ScsiInquiry(byte allocationLength)
-
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.
-
-