1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 2<html xml:lang="en-US" lang="en-US" xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 5 <meta http-equiv="Content-Style-Type" content="text/css" /> 6 <link rel="stylesheet" href="../../../css/manpage.css" type="text/css" /> 7 <style type="text/css"><!-- 8 span.static_style 9 { 10 font-size : 8pt; 11 color : white; 12 font-weight : bold; 13 background : #44f; 14 border-left : solid 1px #aaf; 15 border-top : solid 1px #aaf; 16 border-right : solid 1px #00c; 17 border-bottom : solid 1px #00c; 18 padding-left : 2px; 19 padding-right : 2px; 20 } 21 span.virtual_style 22 { 23 font-size : 8pt; 24 color : white; 25 font-weight : bold; 26 background : #0a0; 27 border-left : solid 1px #0f0; 28 border-top : solid 1px #0f0; 29 border-right : solid 1px #060; 30 border-bottom : solid 1px #060; 31 padding-left : 2px; 32 padding-right : 2px; 33 } 34 span.protected_style 35 { 36 font-size : 8pt; 37 color : white; 38 font-weight : bold; 39 background : #444; 40 border-left : solid 1px #ccc; 41 border-top : solid 1px #ccc; 42 border-right : solid 1px #222; 43 border-bottom : solid 1px #222; 44 padding-left : 2px; 45 padding-right : 2px; 46 } 47 --></style> 48<title>nn::boss::TaskStatusInfo</title> 49 </head> 50 <body> 51<h1><CODE><a href="../../../nn/Overview.html">nn</a>::<a href="../../../nn/boss/Overview.html">boss</a>::TaskStatusInfo</CODE> Structure</h1> 52<h2>Syntax</h2> 53 <div class="section"> 54<pre class="definition">struct TaskStatusInfo 55{ 56 s64 taskStartTime; 57 s64 stepStartTime; 58 <a href="../../../nn/boss/TaskStateCode.html">TaskStateCode</a> state; 59 <a href="../../../nn/boss/TaskStateCode.html">TaskStateCode</a> taskState; 60 <a href="../../../nn/boss/TaskStateCode.html">TaskStateCode</a> stateResume; 61 <a href="../../../nn/boss/TaskServiceStatus.html">TaskServiceStatus</a> serviceStatus; 62 bool serviceTerminated; 63 <a href="../../../nn/boss/TaskResultCode.html">TaskResultCode</a> resultCode; 64 u32 commErrorCode; 65 u32 execCount; 66 u32 pendingTime; 67 u32 remainTime; 68 u32 progress; 69 u32 dataSize; 70 u16 activeRate; 71 u16 requestRate; 72 u8 activeStep; 73 u8 priority; 74 char lastModified[MAX_LASTMODIFIED_LENGTH]; 75}; 76</pre> 77 </div> 78<h2>Description</h2> 79 <div class="section"> 80<p>Definition of an internal structure that maintains attribute information for the <CODE>TaskStatus</CODE> class.</p> 81 </div> 82 <a name="variable" id="variable"> 83<h2>Member Variables</h2> 84 <div class="section"> 85 <table class="members"> 86 <tr> 87 <td width="100"> </td> 88 <th> 89<span class="argument">taskStartTime</span> 90 </th> 91<td width="100">s64</td> 92<td>Scheduled task start time, based on a calendar beginning 1 January 2000. Units are seconds.</td> 93 </tr> 94 <tr> 95 <td width="100"> </td> 96 <th> 97<span class="argument">stepStartTime</span> 98 </th> 99<td width="100">s64</td> 100<td>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.)</td> 101 </tr> 102 <tr> 103 <td width="100"> </td> 104 <th> 105<span class="argument">state</span> 106 </th> 107<td width="100"><a href="../../../nn/boss/TaskStateCode.html"><CODE>TaskStateCode</CODE></a></td> 108<td>Task state information.</td> 109 </tr> 110 <tr> 111 <td width="100"> </td> 112 <th> 113<span class="argument">taskState</span> 114 </th> 115<td width="100"><a href="../../../nn/boss/TaskStateCode.html"><CODE>TaskStateCode</CODE></a></td> 116<td>Internal task state information.</td> 117 </tr> 118 <tr> 119 <td width="100"> </td> 120 <th> 121<span class="argument">stateResume</span> 122 </th> 123<td width="100"><a href="../../../nn/boss/TaskStateCode.html"><CODE>TaskStateCode</CODE></a></td> 124<td>Internal task state information used upon task resumption.</td> 125 </tr> 126 <tr> 127 <td width="100"> </td> 128 <th> 129<span class="argument">serviceStatus</span> 130 </th> 131<td width="100"><a href="../../../nn/boss/TaskServiceStatus.html"><CODE>TaskServiceStatus</CODE></a></td> 132<td>Status of the service pointed to by the URL specified in the task attributes.</td> 133 </tr> 134 <tr> 135 <td width="100"> </td> 136 <th> 137<span class="argument">serviceTerminated</span> 138 </th> 139<td width="100">bool</td> 140<td>Availability flag of the service pointed to by the URL specified in the task attributes.</td> 141 </tr> 142 <tr> 143 <td width="100"> </td> 144 <th> 145<span class="argument">resultCode</span> 146 </th> 147<td width="100"><a href="../../../nn/boss/TaskResultCode.html"><CODE>TaskResultCode</CODE></a></td> 148<td>Task result code.</td> 149 </tr> 150 <tr> 151 <td width="100"> </td> 152 <th> 153<span class="argument">commErrorCode</span> 154 </th> 155<td width="100">u32</td> 156<td>Communications error code during task execution.</td> 157 </tr> 158 <tr> 159 <td width="100"> </td> 160 <th> 161<span class="argument">execCount</span> 162 </th> 163<td width="100">u32</td> 164<td>Remaining execution count for a task.</td> 165 </tr> 166 <tr> 167 <td width="100"> </td> 168 <th> 169<span class="argument">pendingTime</span> 170 </th> 171<td width="100">u32</td> 172<td>Time elapsed since scheduled task start.</td> 173 </tr> 174 <tr> 175 <td width="100"> </td> 176 <th> 177<span class="argument">remainTime</span> 178 </th> 179<td width="100">u32</td> 180<td>Time remaining until task execution. (This is provided for future extensibility and cannot be used.)</td> 181 </tr> 182 <tr> 183 <td width="100"> </td> 184 <th> 185<span class="argument">progress</span> 186 </th> 187<td width="100">u32</td> 188<td>Number of bytes downloaded.</td> 189 </tr> 190 <tr> 191 <td width="100"> </td> 192 <th> 193<span class="argument">dataSize</span> 194 </th> 195<td width="100">u32</td> 196<td>Total number of bytes to download from specified URL.</td> 197 </tr> 198 <tr> 199 <td width="100"> </td> 200 <th> 201<span class="argument">activeRate</span> 202 </th> 203<td width="100">u16</td> 204<td>Average execution rate. (This is provided for future extensibility and cannot be used.)</td> 205 </tr> 206 <tr> 207 <td width="100"> </td> 208 <th> 209<span class="argument">requestRate</span> 210 </th> 211<td width="100">u16</td> 212<td>Average communication request rate. (This is provided for future extensibility and cannot be used.)</td> 213 </tr> 214 <tr> 215 <td width="100"> </td> 216 <th> 217<span class="argument">activeStep</span> 218 </th> 219<td width="100">u8</td> 220<td>Currently running task step ID.</td> 221 </tr> 222 <tr> 223 <td width="100"> </td> 224 <th> 225<span class="argument">priority</span> 226 </th> 227<td width="100">u8</td> 228<td>Priority of the currently running task.</td> 229 </tr> 230 <tr> 231 <td width="100"> </td> 232 <th> 233<span class="argument">lastModified</span> 234 </th> 235<td width="100"><CODE>char</CODE></td> 236<td>Last update time, as returned in the HTTP response header.</td> 237 </tr> </table> 238 </div> 239 </a> 240 <hr><p>CONFIDENTIAL</p></body> 241</html> 242