org.rococoa.cocoa.iokit
Interface IOKitLibrary.SCSITaskStatus

Enclosing interface:
IOKitLibrary

public static interface IOKitLibrary.SCSITaskStatus


Field Summary
static int kSCSITaskStatus_ACA_ACTIVE
           
static int kSCSITaskStatus_BUSY
           
static int kSCSITaskStatus_CHECK_CONDITION
           
static int kSCSITaskStatus_CONDITION_MET
           
static int kSCSITaskStatus_DeliveryFailure
          If the task is unable to be delivered to the device due to a failure in the SCSI
Protocol Layer, such as a bus reset or communications error, but the device is
is known to be functioning properly, the task status shall be set to
kSCSITaskStatus_DeliveryFailure.
static int kSCSITaskStatus_DeviceNotPresent
          If the task is unable to be delivered because the device has been detached,
the task status shall be set to kSCSITaskStatus_DeviceNotPresent.
static int kSCSITaskStatus_DeviceNotResponding
          If a task is unable to be delivered due to a failure of the device not
accepting the task or the device acknowledging the attempt to send it
the device the task status shall be set to kSCSITaskStatus_DeviceNotResponding.
static int kSCSITaskStatus_GOOD
          These are the Task Status values as defined by the SCSI Architecture Model
specification and are returned only when task completes with a service response
of either TASK_COMPLETED or LINK_COMMAND_COMPLETE.
static int kSCSITaskStatus_INTERMEDIATE
           
static int kSCSITaskStatus_INTERMEDIATE_CONDITION_MET
           
static int kSCSITaskStatus_No_Status
          This status is not defined by the SCSI specifications,
but is here to provide a status that can be returned in
cases where there is not status available from the device
or protocol, for example, when the service response is neither
TASK_COMPLETED nor LINK_COMMAND_COMPLETE or when the service response is
SERVICE_DELIVERY_OR_TARGET_FAILURE and the reason for failure could not be determined.
static int kSCSITaskStatus_ProtocolTimeoutOccurred
          If a task is aborted by the SCSI Protocol Layer due to it exceeding a timeout
value specified by the support for the protocol or a related specification,
the task status shall be set to kSCSITaskStatus_TaskTimeoutOccurred.
static int kSCSITaskStatus_RESERVATION_CONFLICT
           
static int kSCSITaskStatus_TASK_SET_FULL
           
static int kSCSITaskStatus_TaskTimeoutOccurred
          If a task is aborted by the SCSI Protocol Layer due to it exceeding the timeout
value specified by the task, the task status shall be set to
kSCSITaskStatus_TaskTimeoutOccurred.
 

Field Detail

kSCSITaskStatus_GOOD

static final int kSCSITaskStatus_GOOD
These are the Task Status values as defined by the SCSI Architecture Model
specification and are returned only when task completes with a service response
of either TASK_COMPLETED or LINK_COMMAND_COMPLETE.
Since these are well documented in the SAM specifications, that document should be
referenced for their meaning.

See Also:
Constant Field Values

kSCSITaskStatus_CHECK_CONDITION

static final int kSCSITaskStatus_CHECK_CONDITION
See Also:
Constant Field Values

kSCSITaskStatus_CONDITION_MET

static final int kSCSITaskStatus_CONDITION_MET
See Also:
Constant Field Values

kSCSITaskStatus_BUSY

static final int kSCSITaskStatus_BUSY
See Also:
Constant Field Values

kSCSITaskStatus_INTERMEDIATE

static final int kSCSITaskStatus_INTERMEDIATE
See Also:
Constant Field Values

kSCSITaskStatus_INTERMEDIATE_CONDITION_MET

static final int kSCSITaskStatus_INTERMEDIATE_CONDITION_MET
See Also:
Constant Field Values

kSCSITaskStatus_RESERVATION_CONFLICT

static final int kSCSITaskStatus_RESERVATION_CONFLICT
See Also:
Constant Field Values

kSCSITaskStatus_TASK_SET_FULL

static final int kSCSITaskStatus_TASK_SET_FULL
See Also:
Constant Field Values

kSCSITaskStatus_ACA_ACTIVE

static final int kSCSITaskStatus_ACA_ACTIVE
See Also:
Constant Field Values

kSCSITaskStatus_TaskTimeoutOccurred

static final int kSCSITaskStatus_TaskTimeoutOccurred
If a task is aborted by the SCSI Protocol Layer due to it exceeding the timeout
value specified by the task, the task status shall be set to
kSCSITaskStatus_TaskTimeoutOccurred.

See Also:
Constant Field Values

kSCSITaskStatus_ProtocolTimeoutOccurred

static final int kSCSITaskStatus_ProtocolTimeoutOccurred
If a task is aborted by the SCSI Protocol Layer due to it exceeding a timeout
value specified by the support for the protocol or a related specification,
the task status shall be set to kSCSITaskStatus_TaskTimeoutOccurred.

See Also:
Constant Field Values

kSCSITaskStatus_DeviceNotResponding

static final int kSCSITaskStatus_DeviceNotResponding
If a task is unable to be delivered due to a failure of the device not
accepting the task or the device acknowledging the attempt to send it
the device the task status shall be set to kSCSITaskStatus_DeviceNotResponding.
This will allow the SCSI Application driver to perform the necessary steps
to try to recover the device. This shall only be reported after the
SCSI Protocol Layer driver has attempted all protocol specific attempts to recover the device.

See Also:
Constant Field Values

kSCSITaskStatus_DeviceNotPresent

static final int kSCSITaskStatus_DeviceNotPresent
If the task is unable to be delivered because the device has been detached,
the task status shall be set to kSCSITaskStatus_DeviceNotPresent. This will
allow the SCSI Application Layer to halt the sending of tasks to the device and,
if supported, perform any device failover or system cleanup.

See Also:
Constant Field Values

kSCSITaskStatus_DeliveryFailure

static final int kSCSITaskStatus_DeliveryFailure
If the task is unable to be delivered to the device due to a failure in the SCSI
Protocol Layer, such as a bus reset or communications error, but the device is
is known to be functioning properly, the task status shall be set to
kSCSITaskStatus_DeliveryFailure. This can also be reported if the task could not
be delivered due to a protocol error that has since been corrected.

See Also:
Constant Field Values

kSCSITaskStatus_No_Status

static final int kSCSITaskStatus_No_Status
This status is not defined by the SCSI specifications,
but is here to provide a status that can be returned in
cases where there is not status available from the device
or protocol, for example, when the service response is neither
TASK_COMPLETED nor LINK_COMMAND_COMPLETE or when the service response is
SERVICE_DELIVERY_OR_TARGET_FAILURE and the reason for failure could not be determined.

See Also:
Constant Field Values