|
YAACC - UPNP Client and Server
|
What the client tells the server when it joins. More...


Public Member Functions | |
| String | getId () |
| String | getHostName () |
| String | getClientName () |
| String | getOs () |
| String | getArch () |
| String | getVersion () |
| String | getMac () |
| int | getInstance () |
| int | getProtocolVersion () |
| MessageType | type () |
| boolean | equals (Object other) |
| int | hashCode () |
Public Member Functions inherited from de.yaacc.snapcast.protocol.SnapcastBinaryMessage | |
Static Public Member Functions | |
| static HelloMessage | create (String id, String hostName, String clientName, String os, String arch, String version) |
| The Hello of this client. | |
What the client tells the server when it joins.
The server and every controller of the server see these values, so the disclosure is deliberate (design, "Disclosure (Hello)"): MAC is a fixed placeholder (Android does not expose the real one and it would identify the hardware), ID is the stable identifier the caller derives from the YAACC device, there is no Auth, and every text is cleaned and cut like display text.
|
static |
The Hello of this client.
| id | a stable identifier of this phone for the server (not the hardware id); required |
| hostName | the name of the phone as the UPnP device already announces it |
| clientName | the name of the program, for example "YAACC" |
| IllegalArgumentException | when the id is missing or blank |
| MessageType de.yaacc.snapcast.protocol.HelloMessage.type | ( | ) |
Implements de.yaacc.snapcast.protocol.SnapcastBinaryMessage.