Package | Description |
---|---|
org.jscsi.target.scsi.sense |
This package contains all classes which represent SCSI sense data - data which gives a detailed account of current or
deferred SCSI errors.
|
Modifier and Type | Field and Description |
---|---|
protected ErrorType |
SenseData.errorType
The error type of the sense data as determined by the
SenseData.responseCode variable. |
Modifier and Type | Method and Description |
---|---|
static ErrorType |
ErrorType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ErrorType[] |
ErrorType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static int |
SenseData.getReponseCodeFor(ErrorType errorType,
SenseDataFormat senseDataFormat)
Returns the proper response code for the given error type and sense data format.
|
Constructor and Description |
---|
DescriptorFormatSenseData(ErrorType errorType,
SenseKey senseKey,
AdditionalSenseCodeAndQualifier additionalSenseCodeAndQualifier,
SenseDataDescriptor... senseDataDescriptors)
The constructor.
|
FixedFormatSenseData(boolean valid,
ErrorType errorType,
boolean fileMark,
boolean endOfMedium,
boolean incorrectLengthIndicator,
SenseKey senseKey,
FourByteInformation information,
FourByteInformation commandSpecificInformation,
AdditionalSenseCodeAndQualifier additionalSenseCodeAndQualifier,
byte fieldReplaceableUnitCode,
SenseKeySpecificData senseKeySpecificData,
AdditionalSenseBytes additionalSenseBytes)
The constructor.
|
SenseData(ErrorType errorType,
SenseDataFormat senseDataFormat,
SenseKey senseKey,
AdditionalSenseCodeAndQualifier additionalSenseCodeAndQualifier)
The sense data constructor.
|
Copyright © 2013 University of Konstanz, Distributed Systems Group. All Rights Reserved.