CCIMXDesktop
 
Loading...
Searching...
No Matches
NetAbilityScanner Class Reference

The NetAbilityScanner class check the desktop network status. More...

#include <NetAbilityScanner.h>

Inheritance diagram for NetAbilityScanner:

Signals

void postStatus (NetWorkState status)
 postStatus connect the signals for
 

Public Member Functions

 NetAbilityScanner (QObject *parent=nullptr)
 NetAbilityScanner scan the abilities.
 
void process_once_fresh ()
 process_once_fresh: invoke this to make a full check
 

Detailed Description

The NetAbilityScanner class check the desktop network status.

Constructor & Destructor Documentation

◆ NetAbilityScanner()

NetAbilityScanner::NetAbilityScanner ( QObject *  parent = nullptr)
explicit

NetAbilityScanner scan the abilities.

Parameters
parent

Member Function Documentation

◆ postStatus

void NetAbilityScanner::postStatus ( NetWorkState  status)
signal

postStatus connect the signals for

Parameters
status

◆ process_once_fresh()

void NetAbilityScanner::process_once_fresh ( )

process_once_fresh: invoke this to make a full check

Note
: levarage process here: process_once_fresh -> process_once_online_check() |-> if success connected to internet, stops |-> else do process_once_local_check |-> if success, then local network is access |-> else, disconnected

The documentation for this class was generated from the following files: