public class PingStage extends TargetFullFeatureStage
The execute(ProtocolDataUnit) method will process these ping messages and send a NOP-In PDU as
ping echo, containing a copy of the NOP-Out PDU's data segment.
If either the NOP-OUT PDU's initiator or target transfer tag equals the reserved value of 0xffffffff, then no reply will be sent, since the PDU is only supposed to acknowledge a changed ExpCmdSN, or serve as an echo to a NOP-IN ping sent by the target.
connection, session, settings, targetPhase| Constructor and Description |
|---|
PingStage(TargetFullFeaturePhase targetFullFeaturePhase) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(ProtocolDataUnit pdu)
Starts the stage.
|
createFixedFormatErrorPdu, createFixedFormatErrorPdu, createScsiResponsePdu, sendResponsegetConnectionpublic PingStage(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.