public enum LogoutResponse extends Enum<LogoutResponse>
This enumeration defines all the Logout Responses, which the iSCSI Standard (RFC3720) defines.
| Enum Constant and Description |
|---|
CID_NOT_FOUND
CID not found.
|
CLEANUP_FAILED
Cleanup failed for various reasons.
|
CONNECTION_CLOSED_SUCCESSFULLY
Connection or session closed successfully.
|
CONNECTION_RECOVERY_NOT_SUPPORTED
Connection recovery is not supported.
|
| Modifier and Type | Method and Description |
|---|---|
byte |
value()
Returns the value of this enumeration.
|
static LogoutResponse |
valueOf(byte value)
Returns the constant defined for the given
value. |
static LogoutResponse |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LogoutResponse[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LogoutResponse CONNECTION_CLOSED_SUCCESSFULLY
public static final LogoutResponse CID_NOT_FOUND
public static final LogoutResponse CONNECTION_RECOVERY_NOT_SUPPORTED
public static final LogoutResponse CLEANUP_FAILED
public static LogoutResponse[] values()
for (LogoutResponse c : LogoutResponse.values()) System.out.println(c);
public static LogoutResponse 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 LogoutResponse 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.