ReadCapacity16

ReadCapacity16 class to send a read capacity

Constructors

this
this(SCSIDevice dev, uint datain_len)

Members

Functions

unmarshall
void unmarshall()

Method used to unmarshall the datain buffer.

Properties

blocksize
uint blocksize [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
protectionEnabled
ubyte protectionEnabled [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
referenceTagOwnEnabled
ubyte referenceTagOwnEnabled [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
total_lba
ulong total_lba [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From SCSICommand

m_dataout
ubyte[] m_dataout;
Undocumented in source.
m_cdb
ubyte[] m_cdb;
Undocumented in source.
sense
ubyte[] sense [@property getter]

Get a reference to the sense buffer

dataout
ubyte[] dataout [@property getter]

Get a reference to the dataout buffer (possibly null)

datain
ubyte[] datain [@property getter]

Get a reference to the datain buffer (possibly null)

cdb
ubyte[] cdb [@property getter]

Get a reference ot the CDB

device
SCSIDevice device [@property getter]

Get the SCSIDevice

~this
~this()
Undocumented in source.
init_cdb
void init_cdb(ubyte opcode)

Allocate the CDB and set the opcode field. Opcode is used to determine cdb length.

execute
void execute()

Execute the SCSI command on the device (using device.sgio_execute), then unmarshalls the datain buffer with a call to unmarshall().

unmarshall
void unmarshall()

Abstract method used to unmarshall the datain buffer.

Meta