Class 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 the ScsiBlockDevice.

    This command has no data phase, the result is determined by #getbCswStatus().

    • Constructor Detail

      • ScsiTestUnitReady

        public ScsiTestUnitReady()
    • 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.