|
YAACC - UPNP Client and Server
|
Answer of dist/getDistributionInfo: the state of a device in a group ("link").
More...

Classes | |
| enum | Role |
Public Member Functions | |
| String | getGroupId () |
| boolean | isNullGroup () |
| String | getGroupName () |
| String | getRoleWord () |
| Role | getRole () |
| String | getServerZone () |
| List< String > | getClients () |
| List< YxcDistributionClient > | getClientEntries () |
| String | getStatus () |
| boolean | hasMcSurround () |
| String | getMcSurroundRole () |
Static Public Member Functions | |
| static boolean | isNullGroupId (String groupId) |
| True for no id, an empty id and an id of zeros only (the id of a device that is in no group). | |
Static Public Attributes | |
| static final String | NULL_GROUP_ID = "00000000000000000000000000000000" |
Answer of dist/getDistributionInfo: the state of a device in a group ("link").
Verified on three devices (2026-11-02): a device in no group says "role": "none" with a group id of 32 zeros and an empty client list; a server says "server", a status (working) and lists its clients with ip_address and data_type. The word of a client is not captured yet; client is what the open-source libraries use. The role is kept as the raw word and as Role; without a usable word, Role#NONE is derived from the null group id and an empty client list. The group_name of a device in no group is a name the device makes up, so it is never used for a decision. A device that is part of a surround set adds an mc_surround object; only its presence and its role word are kept.
| List< YxcDistributionClient > de.yaacc.yxc.YxcDistributionInfo.getClientEntries | ( | ) |
| List< String > de.yaacc.yxc.YxcDistributionInfo.getClients | ( | ) |
Referenced by de.yaacc.yxc.YxcGroupOperations.applySelection(), de.yaacc.yxc.YxcGroupService.unlink(), and de.yaacc.yxc.YxcGroupOperations.unlinkGroup().

| String de.yaacc.yxc.YxcDistributionInfo.getGroupId | ( | ) |
null if absent Referenced by de.yaacc.yxc.YxcGroupOperations.applySelection(), and de.yaacc.yxc.YxcGroupService.rename().

| String de.yaacc.yxc.YxcDistributionInfo.getGroupName | ( | ) |
null if absent. A device in no group reports a name it makes up ((Linked) and its room name), so this is for display only and never for a decision. Referenced by de.yaacc.yxc.YxcGroupService.rename().

| String de.yaacc.yxc.YxcDistributionInfo.getMcSurroundRole | ( | ) |
mc_surround (seen: none), null if absent | String de.yaacc.yxc.YxcDistributionInfo.getRoleWord | ( | ) |
null if absent | String de.yaacc.yxc.YxcDistributionInfo.getServerZone | ( | ) |
null or empty if the device does not serve one | String de.yaacc.yxc.YxcDistributionInfo.getStatus | ( | ) |
status word of a server (seen: working), null if absent (a device in no group has none) | boolean de.yaacc.yxc.YxcDistributionInfo.hasMcSurround | ( | ) |
mc_surround object