Class 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
    • Constructor Detail

      • ScsiInquiry

        public ScsiInquiry​(byte allocationLength)
    • 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 class CommandBlockWrapper
        Parameters:
        buffer - The buffer were the serialized data should be copied to.