public class ScsiReadCapacityResponse
extends java.lang.Object
The response data is received in the data phase
ScsiReadCapacity| Modifier and Type | Method and Description |
|---|---|
int |
getBlockLength()
Returns the size of each block in the block device.
|
int |
getLogicalBlockAddress()
Returns the address of the last accessible block on the block device.
|
static ScsiReadCapacityResponse |
read(java.nio.ByteBuffer buffer)
Constructs a new object with the given data.
|
public static ScsiReadCapacityResponse read(java.nio.ByteBuffer buffer)
buffer - The data where the ScsiReadCapacityResponse() is
located.ScsiReadCapacityResponse().public int getLogicalBlockAddress()
The size of the device is then last accessible block + 0!
public int getBlockLength()