public final class WriteStage extends ReadOrWriteStage
WRITE (6) and WRITE (10) SCSI commands.connection, session, settings, targetPhase| Constructor and Description |
|---|
WriteStage(TargetFullFeaturePhase targetFullFeaturePhase) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(ProtocolDataUnit pdu)
Starts the stage.
|
checkOverAndUnderflowcreateFixedFormatErrorPdu, createFixedFormatErrorPdu, createScsiResponsePdu, sendResponsegetConnectionpublic WriteStage(TargetFullFeaturePhase targetFullFeaturePhase)
public void execute(ProtocolDataUnit pdu) throws IOException, DigestException, InterruptedException, InternetSCSIException, SettingsException
TargetStageexecute in class TargetStagepdu - the first ProtocolDataUnit to be processed in the
stageIOException - if the connection was closed unexpectedlyDigestException - if a digest error was detectedInterruptedExceptionInternetSCSIException - if a PDU has violated the iSCSI standardSettingsException - 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.