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(org.jscsi.parser.ProtocolDataUnit pdu)
Starts the stage.
|
checkOverAndUnderflow
createFixedFormatErrorPdu, createFixedFormatErrorPdu, createScsiResponsePdu, sendResponse
getConnection
public WriteStage(TargetFullFeaturePhase targetFullFeaturePhase)
public void execute(org.jscsi.parser.ProtocolDataUnit pdu) throws IOException, DigestException, InterruptedException, org.jscsi.exception.InternetSCSIException, SettingsException
TargetStage
execute
in class TargetStage
pdu
- the first ProtocolDataUnit
to be processed in the stageIOException
- if the connection was closed unexpectedlyDigestException
- if a digest error was detectedInterruptedException
org.jscsi.exception.InternetSCSIException
- 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 © 2013 University of Konstanz, Distributed Systems Group. All Rights Reserved.