YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.fcast.discovery.FCastReceiverId Class Reference

The id of an FCast receiver in the receiver lists: fcast:<endpoint> with the canonical endpoint text (host:port, an IPv6 literal in brackets), the same idea as the Snapcast server key (decision D6: the id is the endpoint; a receiver whose address changed is a new receiver). More...

Collaboration diagram for de.yaacc.fcast.discovery.FCastReceiverId:
Collaboration graph

Static Public Member Functions

static String of (FCastEndpoint endpoint)
 
static boolean isFCastId (String id)
 True for text that starts like an id (it may still be malformed; parse decides).
 
static FCastEndpoint parse (String id)
 

Static Public Attributes

static final String PREFIX = "fcast:"
 The prefix of every receiver id of an FCast receiver.
 

Detailed Description

The id of an FCast receiver in the receiver lists: fcast:<endpoint> with the canonical endpoint text (host:port, an IPv6 literal in brackets), the same idea as the Snapcast server key (decision D6: the id is the endpoint; a receiver whose address changed is a new receiver).

Pure.

Member Function Documentation

◆ parse()

static FCastEndpoint de.yaacc.fcast.discovery.FCastReceiverId.parse ( String id)
static
Returns
the endpoint of a well-formed id (canonical form only, bounded length), or null

Referenced by de.yaacc.fcast.discovery.FCastDirectory.findById(), and de.yaacc.fcast.discovery.FCastReceivers.selectionChanged().

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: