public final class ModeSenseStage extends TargetFullFeatureStage
MODE SENSE (6)
SCSI commands.connection, session, settings, targetPhase
Constructor and Description |
---|
ModeSenseStage(TargetFullFeaturePhase targetFullFeaturePhase) |
Modifier and Type | Method and Description |
---|---|
boolean |
canHandle(org.jscsi.parser.ProtocolDataUnit pdu) |
void |
execute(org.jscsi.parser.ProtocolDataUnit pdu)
Starts the stage.
|
createFixedFormatErrorPdu, createFixedFormatErrorPdu, createScsiResponsePdu, sendResponse
getConnection
public ModeSenseStage(TargetFullFeaturePhase targetFullFeaturePhase)
public void execute(org.jscsi.parser.ProtocolDataUnit pdu) throws IOException, InterruptedException, org.jscsi.exception.InternetSCSIException, DigestException, SettingsException
TargetStage
execute
in class TargetStage
pdu
- the first ProtocolDataUnit
to be processed in the stageIOException
- if the connection was closed unexpectedlyInterruptedException
org.jscsi.exception.InternetSCSIException
- 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 valuepublic boolean canHandle(org.jscsi.parser.ProtocolDataUnit pdu)
Copyright © 2013 University of Konstanz, Distributed Systems Group. All Rights Reserved.