OPERATION_STATE_ENUM

The OPERATION_STATE_ENUM enumeration specifies possible states of operations performed by Adaxes.

Syntax

enum OPERATION_STATE_ENUM
{
  OPERATION_STATE_READY               = 0,  //0x0
  OPERATION_STATE_PROCESSING          = 1,  //0x1
  OPERATION_STATE_SUSPENDED           = 2,  //0x2
  OPERATION_STATE_WAITING             = 3,  //0x3
  OPERATION_STATE_COMPLETED           = 4,  //0x4
  OPERATION_STATE_FAILED_NO_CONTINUE  = 5,  //0x5
  OPERATION_STATE_FAILED_CAN_CONTINUE = 6,  //0x6
}

Constants

  • Flag

  • Description

  • OPERATION_STATE_READY

  • Indicates that an operation is ready to execute.

  • OPERATION_STATE_PROCESSING

  • Indicates that an operation is being executed.

  • OPERATION_STATE_SUSPENDED

  • Indicates that an operation is suspended.

  • OPERATION_STATE_WAITING

  • Indicates that an operation is awaiting for another operation to be executed.

  • OPERATION_STATE_COMPLETED

  • Indicates that an operation has been successfully processed.

  • OPERATION_STATE_FAILED_NO_CONTINUE

  • Indicates that an operation has failed, and other operations in the Command Queue that are awaiting this operation cannot be processed and will fail too.

  • OPERATION_STATE_FAILED_CAN_CONTINUE

  • Indicates that an operation has failed, but other operations in the Command Queue that are awaiting this operation can be processed.

Requirements

Minimum required version: 2009.1

See also