|
YAACC - UPNP Client and Server
|
The server list of the Snapcast settings: what the user can type in, and what is listed. More...

Classes | |
| enum | Kind |
| Why a server is in the list. More... | |
| enum | Outcome |
What add did. More... | |
| class | Row |
| One row of the list. | |
Public Member Functions | |
| SnapcastServerListModel (ManualServers manualServers, SnapcastDirectory directory, SnapcastServerAdmin admin) | |
| boolean | canAdd () |
| True while another server can be typed in. | |
| Outcome | add (String input) |
| Checks and stores what the user typed in; the directory lists the server at once when it was added. | |
| SnapcastServerAdmin.Result | remove (ServerKey key) |
Removes a server, see SnapcastServerAdmin#remove. | |
| List< Row > | rows () |
| The rows: the typed-in servers first, then the others, each group by endpoint. | |
The server list of the Snapcast settings: what the user can type in, and what is listed.
Pure Java (the dialog only forwards text and shows the rows).
ServerEndpoint#parse); credentials (user:password@host) get their own message and are never stored, a URL is invalid. At most {@value ManualServers.MAX_SERVERS} servers; a server that is in the list already (written another way) is merged, not added twice. SnapcastServerAdmin.