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

The way the receiver cards reach the standby state of the app's own OpenHome renderer (task 12.13): the one Standby state that the power switch of the OpenHome settings sheet and a control point write with the action SetStandby. More...

Collaboration diagram for de.yaacc.upnp.server.openhome.OwnOpenHomeStandby:
Collaboration graph

Classes

interface  Listener
 Told that the state or the existence of the own renderer changed. More...
 

Public Member Functions

synchronized void attach (OhStandby renderer)
 The renderer of the running service; one that was attached before is let go.
 
synchronized void detach (OhStandby renderer)
 Only the renderer that is attached now can be detached (a late call of an earlier service changes nothing).
 
boolean isAttached ()
 
Boolean standby ()
 
boolean setStandby (boolean standby)
 
void addListener (Listener listener)
 The same listener twice is one.
 
void removeListener (Listener listener)
 

Static Public Member Functions

static OwnOpenHomeStandby shared ()
 

Detailed Description

The way the receiver cards reach the standby state of the app's own OpenHome renderer (task 12.13): the one Standby state that the power switch of the OpenHome settings sheet and a control point write with the action SetStandby.

The service attaches the renderer when it builds the OpenHome services and detaches it when it ends; nothing here keeps a value of its own, a thread or a setting. The listeners (the rows of a shown list) are told, on whatever thread changed the state, when the state changed or the renderer came or went; they hand over to the main thread themselves.

Member Function Documentation

◆ isAttached()

boolean de.yaacc.upnp.server.openhome.OwnOpenHomeStandby.isAttached ( )
Returns
whether the app's own OpenHome renderer runs (the cards offer the button only then)

◆ setStandby()

boolean de.yaacc.upnp.server.openhome.OwnOpenHomeStandby.setStandby ( boolean standby)
Returns
false when there is no renderer; otherwise the renderer did what the action SetStandby does
Here is the call graph for this function:

◆ standby()

Boolean de.yaacc.upnp.server.openhome.OwnOpenHomeStandby.standby ( )
Returns
true when the renderer is in standby, null when there is none

Referenced by de.yaacc.upnp.server.openhome.OwnOpenHomeStandby.setStandby().

Here is the call graph for this function:
Here is the caller graph for this function:

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