Inquiry_Base

Undocumented in source.

Constructors

this
this(SCSIDevice dev, ubyte pagecode, bool evpd, int datain_len)

Inquiry_Base constructor will initialize the CDB, then execute the Inquiry on the device. Child classes override unmarshall() to extract information from the datain buffer.

Members

Functions

unmarshall
void unmarshall()

Abstract method used to unmarshall the datain buffer.

Properties

evpd
bool evpd [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
pagecode
ubyte pagecode [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
peripheral_device_type
ubyte peripheral_device_type [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
peripheral_qualifier
ubyte peripheral_qualifier [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

INQUIRY_COMMAND
int INQUIRY_COMMAND;
Undocumented in source.

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