|
YAACC - UPNP Client and Server
|
The text a user can read and copy to tell "the server does not announce itself" from "the app does not hear it" (task 11.6): the facts of the phone (the switch, Wi-Fi, the multicast permission and lock), what was browsed and what each type saw, the servers listed, the callbacks of NsdManager with their failure codes, and one line that reads the facts.
More...

Classes | |
| class | Facts |
| The facts of the phone and the list. | |
| enum | LockState |
| The state of the multicast lock. More... | |
| enum | Origin |
| Where a listed server came from. More... | |
| enum | Reading |
| What the facts say; the first that applies. More... | |
| class | ServerLine |
| A server of the list, for the report. | |
| enum | Tri |
| A fact that may be unknown. More... | |
Static Public Member Functions | |
| static Reading | reading (Facts facts, SnapcastDiscoveryLog.Snapshot log) |
| What the facts and the log say, the first rule that applies. | |
| static Tri | wifiOf (boolean hasNetwork, boolean wifi, boolean ethernet, boolean vpn) |
| The Wi-Fi fact from the transports of the default network. | |
| static String | of (Facts facts, SnapcastDiscoveryLog.Snapshot log) |
| The report. | |
The text a user can read and copy to tell "the server does not announce itself" from "the app does not hear it" (task 11.6): the facts of the phone (the switch, Wi-Fi, the multicast permission and lock), what was browsed and what each type saw, the servers listed, the callbacks of NsdManager with their failure codes, and one line that reads the facts.
Pure. Everything that came from the network is cleaned and cut by SnapcastDiscoveryLog; the report is for the screen and the clipboard only and is never written to the app log. It shows the addresses and names of the servers found: the user decides where it is pasted.
|
static |
The Wi-Fi fact from the transports of the default network.
Wi-Fi or Ethernet is yes (also under a VPN); a VPN alone hides what carries it and is unknown, never "no Wi-Fi"; no network, or mobile data only, is no.