What the server says about this phone's client, read from Server.GetStatus (read-only): the group the client is in, the stream of that group and its state, the other streams.
More...
|
| class | Stream |
| | One stream of the server: the id (to move a group onto it) and its state.
|
| |
|
|
InetAddress | getAddress () |
| |
|
String | getClientId () |
| |
|
boolean | isReached () |
| |
|
boolean | isClientFound () |
| |
|
String | getGroupId () |
| |
|
String | getStreamId () |
| |
|
List< Stream > | getStreams () |
| |
|
int | getStreamsOmitted () |
| | How many streams the server has beyond the ones kept.
|
| |
|
int | getClientsInGroup () |
| | The number of clients in the group of this client (0 when it is not listed).
|
| |
|
boolean | isOwnStreamPlaying () |
| | True when the stream of the client's group is playing.
|
| |
|
String | text () |
| | The lines for the status text.
|
| |
| String | hint (long chunksReceived) |
| | What to do when no chunk comes; empty when there is nothing to say.
|
| |
|
|
static ServerSays | unreachable (InetAddress address, String clientId) |
| | The control port could not be asked (not open, refused, timed out).
|
| |
|
static ServerSays | of (SnapcastServerStatus status, InetAddress address, String clientId) |
| | Reads the status for this client id.
|
| |
What the server says about this phone's client, read from Server.GetStatus (read-only): the group the client is in, the stream of that group and its state, the other streams.
The owner's failing restart (no chunk for 20 s with a working connection) was exactly this: the server had put the phone in a group of its own on the idle stream "Default" while the playing stream had the other groups. Immutable. What the server names (stream ids, the group id, the state of a stream) is shown only through SnapcastDisplayText (control and invisible characters removed, cut to 40, the group id to 8 characters): text(), Stream#getDisplayName() and the hint. The raw ids stay in this object only to be sent back to the server (Group.SetStream), never to be shown or logged. At most {@value MAX_STREAMS} streams are kept; the text says how many more there are.
◆ hint()
| String de.yaacc.snapcast.client.ServerSays.hint |
( |
long | chunksReceived | ) |
|
What to do when no chunk comes; empty when there is nothing to say.
- Parameters
-
| chunksReceived | chunks the engine received in this session |
The documentation for this class was generated from the following file:
- /github/workspace/yaacc/src/main/java/de/yaacc/snapcast/client/ServerSays.java