#include <net_stats.h>
Public Member Functions | |
| void | contact_reference_site () |
| int | network_status () |
| void | network_available () |
| void | got_http_error () |
| NET_STATUS () | |
| void | poll () |
Public Attributes | |
| bool | need_to_contact_reference_site |
| bool | show_ref_message |
| bool | need_physical_connection |
| client wants to do network comm and no physical connection exists. | |
| bool | have_sporadic_connection |
| double | last_comm_time |
| NET_STATUS::NET_STATUS | ( | ) | [inline] |
| void NET_STATUS::contact_reference_site | ( | ) |


| int NET_STATUS::network_status | ( | ) |

| void NET_STATUS::network_available | ( | ) |

| void NET_STATUS::got_http_error | ( | ) |


| void NET_STATUS::poll | ( | ) |


contact the reference site as soon as GUI_HTTP is idle polled from NET_STATS::poll(), for want of a better place
client wants to do network comm and no physical connection exists.
Initially false; set whenever a Curl operation returns CURLE_COULDNT_RESOLVE_HOST, and a subsequent request to a highly-available site also returns CURLE_COULDNT_RESOLVE_HOST. cleared whenever we transfer data, or an operation returns some other value
we have a network connection, but it's likely to go away soon, so do as much network comm as possible (e.g. report completed results)
| double NET_STATUS::last_comm_time |
1.5.6