|
YAACC - UPNP Client and Server
|
Keeps NetworkRecoveryListeners and passes a "network restored" on to them.
More...


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 | |
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.
| void de.yaacc.upnp.server.NetworkRecoveryNotifier.onNetworkRestored | ( | ) |
Implements de.yaacc.upnp.server.NetworkRecoveryListener.