nn::boss::TaskStatusInfo

nn::boss::TaskStatusInfo Structure

Syntax

struct TaskStatusInfo
{
   s64 taskStartTime;
   s64 stepStartTime;
   TaskStateCode state;
   TaskStateCode taskState;
   TaskStateCode stateResume;
   TaskServiceStatus serviceStatus;
   bool serviceTerminated;
   TaskResultCode resultCode;
   u32 commErrorCode;
   u32 execCount;
   u32 pendingTime;
   u32 remainTime;
   u32 progress;
   u32 dataSize;
   u16 activeRate;
   u16 requestRate;
   u8 activeStep;
   u8 priority;
   char lastModified[MAX_LASTMODIFIED_LENGTH];
};

Description

Definition of an internal structure that maintains attribute information for the TaskStatus class.

Member Variables

taskStartTime s64 Scheduled task start time, based on a calendar beginning 1 January 2000. Units are seconds.
stepStartTime s64 Scheduled task start time, based on a calendar beginning 1 January 2000. Units are seconds. (This is provided for future extensibility and cannot be used.)
state TaskStateCode Task state information.
taskState TaskStateCode Internal task state information.
stateResume TaskStateCode Internal task state information used upon task resumption.
serviceStatus TaskServiceStatus Status of the service pointed to by the URL specified in the task attributes.
serviceTerminated bool Availability flag of the service pointed to by the URL specified in the task attributes.
resultCode TaskResultCode Task result code.
commErrorCode u32 Communications error code during task execution.
execCount u32 Task execution count.
pendingTime u32 Time elapsed since scheduled task start.
remainTime u32 Time remaining until task execution. (This is provided for future extensibility and cannot be used.)
progress u32 The number of bytes processed.
dataSize u32 The total number of bytes to be processed.
activeRate u16 Average execution rate. (This is provided for future extensibility and cannot be used.)
requestRate u16 Average communication request rate. (This is provided for future extensibility and cannot be used.)
activeStep u8 Currently running task step ID.
priority u8 Priority of the currently running task.
lastModified char Last update time, as returned in the HTTP response header.

CONFIDENTIAL