YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.upnp.server.NetworkRecoveryNotifier Class Reference

Keeps NetworkRecoveryListeners and passes a "network restored" on to them. More...

Inheritance diagram for de.yaacc.upnp.server.NetworkRecoveryNotifier:
Inheritance graph
Collaboration diagram for de.yaacc.upnp.server.NetworkRecoveryNotifier:
Collaboration graph

Public Member Functions

void add (NetworkRecoveryListener listener)
 
void remove (NetworkRecoveryListener listener)
 
int size ()
 Number of live listeners.
 
void onNetworkRestored ()
 
- Public Member Functions inherited from de.yaacc.upnp.server.NetworkRecoveryListener

Detailed Description

Keeps NetworkRecoveryListeners and passes a "network restored" on to them.

Listeners are held weakly, so a screen that forgets to unregister is not kept alive; a listener must be held by its owner (a lambda that only the registry references is collected). No Android classes. Itself a listener, so it can be chained behind another notifier.

Member Function Documentation

◆ onNetworkRestored()

void de.yaacc.upnp.server.NetworkRecoveryNotifier.onNetworkRestored ( )

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