|
YAACC - UPNP Client and Server
|
The threads of the OpenHome renderer on Android: one worker thread that does the renderer's work one task after the other, and the main thread for the player (media3 players insist on it). More...


Public Member Functions | |
| void | work (Runnable work) |
| Runs the work on the worker thread, after what was handed over before. | |
| void | lifecycle (Runnable work) |
As work(Runnable) for the start and the end of the renderer: it must run even when the worker is flooded with the work of control points (which may be dropped then). | |
| void | runLater (Runnable runnable, long delayMillis) |
| Runnable | every (Runnable work, long periodMillis) |
| Runs the work on the worker thread again and again; the result stops it. | |
| void | close () |
| Runs what is queued, then ends the worker. | |
Public Member Functions inherited from de.yaacc.upnp.server.openhome.OpenHomeRenderer.Threads | |
Public Member Functions inherited from de.yaacc.upnp.server.openhome.OhRendererCore.Delayer | |
The threads of the OpenHome renderer on Android: one worker thread that does the renderer's work one task after the other, and the main thread for the player (media3 players insist on it).
The worker waits for the main thread, never the other way round.
| void de.yaacc.upnp.server.openhome.AndroidOhThreads.close | ( | ) |
Runs what is queued, then ends the worker.
Implements de.yaacc.upnp.server.openhome.OpenHomeRenderer.Threads.
| Runnable de.yaacc.upnp.server.openhome.AndroidOhThreads.every | ( | Runnable | work, |
| long | periodMillis ) |
Runs the work on the worker thread again and again; the result stops it.
Implements de.yaacc.upnp.server.openhome.OpenHomeRenderer.Threads.

| void de.yaacc.upnp.server.openhome.AndroidOhThreads.lifecycle | ( | Runnable | work | ) |
As work(Runnable) for the start and the end of the renderer: it must run even when the worker is flooded with the work of control points (which may be dropped then).
Implements de.yaacc.upnp.server.openhome.OpenHomeRenderer.Threads.

| void de.yaacc.upnp.server.openhome.AndroidOhThreads.runLater | ( | Runnable | runnable, |
| long | delayMillis ) |
| void de.yaacc.upnp.server.openhome.AndroidOhThreads.work | ( | Runnable | work | ) |
Runs the work on the worker thread, after what was handed over before.
Returns at once.
Implements de.yaacc.upnp.server.openhome.OpenHomeRenderer.Threads.
Referenced by de.yaacc.upnp.server.openhome.AndroidOhThreads.every(), de.yaacc.upnp.server.openhome.AndroidOhThreads.lifecycle(), and de.yaacc.upnp.server.openhome.AndroidOhThreads.work().

