Changes between Version 21 and Version 22 of HTMLGfx


Ignore:
Timestamp:
Dec 31, 2014, 8:40:16 PM (10 years ago)
Author:
romw
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HTMLGfx

    v21 v22  
    6161threaded access.
    6262
     63=== State URL Selection Process ===
     64URL selection works by the following process:
     65{{{
     66    switch_to_url = default_url
     67
     68    if ((status.abort_request or status.quit_request or status.no_heartbeat) and (exiting_url not empty))
     69        switch_to_url = exiting_url
     70    else if (status.suspended and (suspended_url not empty))
     71        switch_to_url = suspended_url
     72    else if (status.network_suspended and (network_suspended_url not empty))
     73        switch_to_url = network_suspended_url
     74    else if (running_url not empty)
     75        switch_to_url = running_url
     76
     77    if ((is_vbox_job && api_port) && (switch_to_url is empty))
     78        switch_to_url  = "http://localhost:" + api_port + "/";
     79}}}
     80
    6381=== Configuration File ===
    6482The graphics description file has the logical name of '''boinc_graphics.xml'''
     
    96114
    97115Reference: [BasicApi#GraphicsStatus boinc_graphics_status.xml]
    98 
    99 === State URL Selection Process ===
    100 URL selection works by the following process:
    101 {{{
    102     switch_to_url = default_url
    103 
    104     if ((status.abort_request or status.quit_request or status.no_heartbeat) and (exiting_url not empty))
    105         switch_to_url = exiting_url
    106     else if (status.suspended and (suspended_url not empty))
    107         switch_to_url = suspended_url
    108     else if (status.network_suspended and (network_suspended_url not empty))
    109         switch_to_url = network_suspended_url
    110     else if (running_url not empty)
    111         switch_to_url = running_url
    112 
    113     if ((is_vbox_job && api_port) && (switch_to_url is empty))
    114         switch_to_url  = "http://localhost:" + api_port + "/";
    115 }}}
    116116
    117117=== Vboxwrapper WebAPI Port ===