Changes between Version 1 and Version 2 of HTMLGfx


Ignore:
Timestamp:
Dec 27, 2014, 12:49:57 PM (10 years ago)
Author:
romw
Comment:

checkpoint

Legend:

Unmodified
Added
Removed
Modified
  • HTMLGfx

    v1 v2  
    4444}}}
    4545Optional elements:
    46  '''default_url'''::
    47  '''running_url'''::
     46 '''default_url'''::
     47    document to display if no state specific URL is defined.
     48 '''running_url'''::
     49    document to display while the task is running.
    4850 '''suspended_url'''::
    49  '''network_suspended_url'''::
    50  '''exiting_url'''::
     51    document to display while the task is suspended.
     52 '''network_suspended_url'''::
     53    document to display while the network is suspended.
     54 '''exiting_url'''::
     55    document to display before the task exits in 5 seconds or less.
    5156
    5257=== Graphics Status File ===
     
    6065{{{
    6166<graphics_status>
    62     <updated_time>%f</updated_time>
    63     <cpu_time>%f</cpu_time>
    64     <elapsed_time>%f</elapsed_time>
    65     <fraction_done>%f</fraction_done>
     67    <updated_time>X</updated_time>
     68    <cpu_time>X</cpu_time>
     69    <elapsed_time>X</elapsed_time>
     70    <fraction_done>X</fraction_done>
    6671    <boinc_status>
    67         <no_heartbeat>%d</no_heartbeat>
    68         <suspended>%d</suspended>
    69         <quit_request>%d</quit_request>
    70         <reread_init_data_file>%d</reread_init_data_file>
    71         <abort_request>%d</abort_request>
    72         <network_suspended>%d</network_suspended>
     72        <no_heartbeat>0|1</no_heartbeat>
     73        <suspended>0|1</suspended>
     74        <quit_request>0|1</quit_request>
     75        <reread_init_data_file>0|1</reread_init_data_file>
     76        <abort_request>0|1</abort_request>
     77        <network_suspended>0|1</network_suspended>
    7378    </boinc_status>
    7479</graphics_status>
    7580}}}
    76 Optional elements:
    77  '''default_url'''::
    78  '''running_url'''::
    79  '''suspended_url'''::
    80  '''network_suspended_url'''::
    81  '''exiting_url'''::
     81Required elements:
     82 '''updated_time'''::
     83    UNIX time of the last time this file was updated.
     84 '''cpu_time'''::
     85    Amount of CPU time this task has consumed, in seconds.
     86 '''elapsed_time'''::
     87    Amount of wall clock time this task has consumed, in seconds.
     88 '''fraction_done'''::
     89    What percentage of the overall task is complete, values between 0..1.
     90 '''no_heartbeat'''::
     91    Whether or not the task has received a heartbeat as of the last update.
     92 '''suspended'''::
     93    Whether or not the task is suspended.
     94 '''quit_request'''::
     95    Whether or not the task has been requested to exit.
     96 '''reread_init_data_file'''::
     97    Whether or not the task should reread all initialization data.
     98 '''abort_request'''::
     99    Whether or not the task has been requested to abort.
     100 '''network_suspended'''::
     101    Whether or not the task has been told the network has been suspended.
    82102
     103=== Vboxwrapper WebAPI Port ===
     104
     105The state file has the name of '''vbox_webapi.xml'''.
     106
     107It has following structure:
     108{{{
     109<webapi>
     110    <host_port>X</host_port>
     111</webapi>
     112}}}
     113Required elements:
     114 '''host_port'''::
     115    The port, if configured for it, vboxwrapper has assigned to the task for WebAPI requests. (HTTP, XML-RPC, JSON)
     116
     117=== Vboxwrapper Remote Desktop Port ===
     118
     119The state file has the name of '''vbox_webapi.xml'''.
     120
     121It has following structure:
     122{{{
     123<remote_desktop>
     124    <host_port>X</host_port>
     125</remote_desktop>
     126}}}
     127Required elements:
     128 '''host_port'''::
     129    The port, if configured for it, vboxwrapper has assigned to the task for Remote Desktop requests. (RDP)
    83130
    84131=== !JavaScript Extension ===