YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.snapcast.SnapcastIdleGroup Class Reference

The placeholder group of a YAACC server that shows no group in the lists: no client has connected to it yet, or the groups it keeps from earlier have no member that is listed (offline, or shown on another server). More...

Collaboration diagram for de.yaacc.snapcast.SnapcastIdleGroup:
Collaboration graph

Static Public Member Functions

static SnapcastGroup of (SnapcastServerStatus status)
 
static boolean is (SnapcastGroup group)
 

Static Public Attributes

static final String ID = "idle"
 The id of the placeholder group.
 

Detailed Description

The placeholder group of a YAACC server that shows no group in the lists: no client has connected to it yet, or the groups it keeps from earlier have no member that is listed (offline, or shown on another server).

Without it a running server of this phone would have no card in the receiver lists, and the user would not know where it is. The placeholder is made for the lists only (never sent to a server): one group with no member, on the first stream, with a reserved id that a server of YAACC never gives (its group ids are UUIDs). Whether it is needed is the lists' decision (SnapcastReceivers). Pure.

Member Function Documentation

◆ is()

static boolean de.yaacc.snapcast.SnapcastIdleGroup.is ( SnapcastGroup group)
static
Returns
true for the placeholder (a group with this id and no member)

◆ of()

static SnapcastGroup de.yaacc.snapcast.SnapcastIdleGroup.of ( SnapcastServerStatus status)
static
Returns
the placeholder for this status: only for a YAACC server; null for any other status

Referenced by de.yaacc.snapcast.SnapcastReceivers.groups().

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: