|
YAACC - UPNP Client and Server
|
One call of NsdManager.discoverServices and what a stop has to do.
More...

Public Member Functions | |
| synchronized boolean | onStarted () |
| The platform confirmed the start. | |
| synchronized void | onStartFailed () |
| The platform could not start the browse: there is nothing to stop. | |
| synchronized boolean | requestStop () |
One call of NsdManager.discoverServices and what a stop has to do.
A stop that is requested before the platform confirmed the start (the receivers page shown and hidden within a moment) is answered by some releases with "stop failed" and leaves the browse running; so it is held back until onDiscoveryStarted arrives. Pure and thread safe; every call of discoverServices has its own handle, so an old stop never touches a newer browse.
| synchronized boolean de.yaacc.multiroom.discovery.BrowseHandle.onStarted | ( | ) |
The platform confirmed the start.
| synchronized boolean de.yaacc.multiroom.discovery.BrowseHandle.requestStop | ( | ) |
Referenced by de.yaacc.fcast.discovery.FCastNsd.stop(), and de.yaacc.sendspin.discovery.SendspinNsd.stop().
