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

Where the receiver lists get the FCast receivers from (the shape of the Snapcast group source). More...

Inheritance diagram for de.yaacc.fcast.discovery.FCastReceiverSource:
Inheritance graph
Collaboration diagram for de.yaacc.fcast.discovery.FCastReceiverSource:
Collaboration graph

Public Member Functions

List< FCastReceiverDevice > receivers ()
 The receivers as of now: discovered, typed in and remembered ones, sorted by name.
 
FCastReceiverDevice findReceiver (String receiverId)
 
void selectionChanged (Collection< String > receiverIds)
 The stored selection changed (the ids of all selected receivers, of any kind): remember the selected FCast receivers across a restart, forget the others.
 

Public Attributes

FCastReceiverSource NONE
 No receivers; the default of a client that has no hub.
 

Detailed Description

Where the receiver lists get the FCast receivers from (the shape of the Snapcast group source).

Member Function Documentation

◆ findReceiver()

FCastReceiverDevice de.yaacc.fcast.discovery.FCastReceiverSource.findReceiver ( String receiverId)
Returns
the receiver with this id (fcast:...), or null if it is not known (any more)

Implemented in de.yaacc.fcast.discovery.FCastHub, and de.yaacc.fcast.discovery.FCastReceivers.

Referenced by de.yaacc.upnp.UpnpClient.getDevice().

Here is the caller graph for this function:

◆ receivers()

List< FCastReceiverDevice > de.yaacc.fcast.discovery.FCastReceiverSource.receivers ( )

The receivers as of now: discovered, typed in and remembered ones, sorted by name.

Cheap: no network.

Implemented in de.yaacc.fcast.discovery.FCastHub, and de.yaacc.fcast.discovery.FCastReceivers.

Referenced by de.yaacc.upnp.UpnpClient.getDevicesProvidingAvTransportService().

Here is the caller graph for this function:

◆ selectionChanged()

void de.yaacc.fcast.discovery.FCastReceiverSource.selectionChanged ( Collection< String > receiverIds)

The stored selection changed (the ids of all selected receivers, of any kind): remember the selected FCast receivers across a restart, forget the others.

Does not block on the network.

Implemented in de.yaacc.fcast.discovery.FCastHub, and de.yaacc.fcast.discovery.FCastReceivers.

Referenced by de.yaacc.upnp.UpnpClient.setReceiverDeviceIds().

Here is the caller graph for this function:

Member Data Documentation

◆ NONE

FCastReceiverSource de.yaacc.fcast.discovery.FCastReceiverSource.NONE
Initial value:
= new FCastReceiverSource() {
@Override
public List<FCastReceiverDevice> receivers() {
return Collections.emptyList();
}
@Override
public FCastReceiverDevice findReceiver(String receiverId) {
return null;
}
@Override
public void selectionChanged(Collection<String> receiverIds) {
}
}
An FCast receiver as a receiver of the receiver lists: a synthetic Cling Device that is never registe...
Definition FCastReceiverDevice.java:51
List< FCastReceiverDevice > receivers()
The receivers as of now: discovered, typed in and remembered ones, sorted by name.
FCastReceiverDevice findReceiver(String receiverId)
void selectionChanged(Collection< String > receiverIds)
The stored selection changed (the ids of all selected receivers, of any kind): remember the selected ...

No receivers; the default of a client that has no hub.


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