public enum AddressMethod extends Enum<AddressMethod>
This field is two bits long.
Enum Constant and Description |
---|
EXTENDED_LOGICAL_UNIT__ADDRESSING_METHOD
Extended logical unit addressing specifies a logical unit at the current level.
|
FLAT_SPACE_ADDRESSING_METHOD
The flat space addressing method specifies a logical unit at the current level.
|
LOGICAL_UNIT_ADDRESSING_METHOD
The SCSI device should relay the received command or task management function to the addressed dependent logical
unit.
|
PERIPHERAL_DEVICE_ADDRESSING_METHOD
The SCSI target device should relay the received command or task management function to the addressed dependent
logical unit.
|
Modifier and Type | Method and Description |
---|---|
byte |
getValue()
Returns the serialized value of the object.
|
static AddressMethod |
getValue(int value)
|
static AddressMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AddressMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AddressMethod PERIPHERAL_DEVICE_ADDRESSING_METHOD
public static final AddressMethod FLAT_SPACE_ADDRESSING_METHOD
public static final AddressMethod LOGICAL_UNIT_ADDRESSING_METHOD
public static final AddressMethod EXTENDED_LOGICAL_UNIT__ADDRESSING_METHOD
Extended logical unit addressing builds on the formats defined for dependent logical units (see 4.6.19.4) but may be used by SCSI devices having single level logical unit structure. In dependent logical unit addressing, the logical unit information at each level fits in exactly two bytes. Extended logical unit addresses have sizes of two bytes, four bytes, six bytes, or eight bytes.
public static AddressMethod[] values()
for (AddressMethod c : AddressMethod.values()) System.out.println(c);
public static AddressMethod 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 byte getValue()
public static AddressMethod getValue(int value)
value
- the value from a serialized ADDRESS METHOD fieldAddressMethod
with a matching value
or or null
Copyright © 2013 University of Konstanz, Distributed Systems Group. All Rights Reserved.