public class UnsupportedOpCodeStage extends TargetFullFeatureStage
TargetFullFeatureStage, this class is
not associated with a single ScsiOperationCode. All SCSI Command PDUs
containing a SCSI OpCode not supported by the jSCSI Target (i.e. without a
dedicated FullFeatureStage to process them) shall be passed to the execute(ProtocolDataUnit)
method of this class, which will dispatch
a standard SCSI Response PDU stating that the given ScsiOperationCode is not supported by this
target.connection, session, settings, targetPhase| Constructor and Description |
|---|
UnsupportedOpCodeStage(TargetFullFeaturePhase targetFullFeaturePhase) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(ProtocolDataUnit pdu)
Starts the stage.
|
createFixedFormatErrorPdu, createFixedFormatErrorPdu, createScsiResponsePdu, sendResponsegetConnectionpublic UnsupportedOpCodeStage(TargetFullFeaturePhase targetFullFeaturePhase)
public void execute(ProtocolDataUnit pdu) throws IOException, InterruptedException, InternetSCSIException, DigestException, SettingsException
TargetStageexecute in class TargetStagepdu - the first ProtocolDataUnit to be processed in the
stageIOException - if the connection was closed unexpectedlyInterruptedExceptionInternetSCSIException - if a PDU has violated the iSCSI standardDigestException - if a digest error was detectedSettingsException - if the program has attempted to access a value from settings
which has not been negotiated and which does not have a
default valueCopyright © 2012 University of Konstanz, Distributed Systems Group. All Rights Reserved.