public interface IState
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
This method is always invoked, when a request message must be send or response message must be received and then
parsed.
|
Exception |
isCorrect(org.jscsi.parser.ProtocolDataUnit protocolDataUnit)
This method checks the correctness of the given
ProtocolDataUnit instance within the current state
of a connection. |
boolean |
nextStateFollowing()
This method shows if another state is following this one.
|
void execute()
throws org.jscsi.exception.InternetSCSIException
org.jscsi.exception.InternetSCSIException - if any violation of the iSCSI Standard (RfC3720) has emerged.boolean nextStateFollowing()
true, if another state must follow this state. Else an final state is reached.Exception isCorrect(org.jscsi.parser.ProtocolDataUnit protocolDataUnit)
ProtocolDataUnit instance within the current state
of a connection.protocolDataUnit - The ProtocolDataUnit instance to check.Exception if any problem occured with the PDU, null otherwise.Copyright © 2013 University of Konstanz, Distributed Systems Group. All Rights Reserved.