public enum LoginStage extends Enum<LoginStage>
This enumeration defines all valid constants for the Login Stages used in the fields Current Stage (CSG) and Next Stage(NSG) fields of a Login Request message. This values are defined in the iSCSI Protocol (RFC3720).
| Enum Constant and Description |
|---|
FULL_FEATURE_PHASE
The Full Feature Phase Flag.
|
LOGIN_OPERATIONAL_NEGOTIATION
The Login Operational Negotiation Flag.
|
SECURITY_NEGOTIATION
The Security Negotiation Flag.
|
| Modifier and Type | Method and Description |
|---|---|
byte |
value()
Returns the value of this enumeration.
|
static LoginStage |
valueOf(byte value)
Returns the constant defined for the given
value. |
static LoginStage |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoginStage[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoginStage SECURITY_NEGOTIATION
public static final LoginStage LOGIN_OPERATIONAL_NEGOTIATION
public static final LoginStage FULL_FEATURE_PHASE
public static LoginStage[] values()
for (LoginStage c : LoginStage.values()) System.out.println(c);
public static LoginStage valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic final byte value()
public static final LoginStage valueOf(byte value)
value.value - The value to search for.value. Or null, if this value is
not defined by this
enumeration.Copyright © 2013 University of Konstanz, Distributed Systems Group. All Rights Reserved.