public final class SecurityNegotiationStage extends TargetLoginStage
TargetLoginStage
sub-class representing Security Negotiation Stages.initiatorTaskTag, negotiator, nextStageNumber, requestedNextStageNumber, stageNumber
connection, session, settings, targetPhase
Constructor and Description |
---|
SecurityNegotiationStage(TargetLoginPhase targetLoginPhase)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
execute(org.jscsi.parser.ProtocolDataUnit initialPdu)
Starts the stage.
|
checkPdu, getNextStageNumber, receivePduSequence, receivePduSequence, sendPduSequence, sendRejectPdu
getConnection
public SecurityNegotiationStage(TargetLoginPhase targetLoginPhase)
targetLoginPhase
- the login phase this stage is a part ofpublic void execute(org.jscsi.parser.ProtocolDataUnit initialPdu) throws IOException, InterruptedException, org.jscsi.exception.InternetSCSIException, DigestException, SettingsException
TargetStage
execute
in class TargetStage
initialPdu
- 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 valueCopyright © 2013 University of Konstanz, Distributed Systems Group. All Rights Reserved.