|
YAACC - UPNP Client and Server
|
The names that players announced, by client_id, kept across restarts so that the lists of paired and approved players can show a name next to the id.
More...

Public Member Functions | |
| SendspinNames (StringSetStore store) | |
| synchronized String | nameOf (String clientId) |
| synchronized void | remember (String clientId, String announced) |
| Remembers the name of a player; an empty name (after cleaning) or an id of the wrong shape is ignored. | |
| synchronized void | forget (String clientId) |
Static Public Attributes | |
| static final int | MAX_NAMES = 64 |
The names that players announced, by client_id, kept across restarts so that the lists of paired and approved players can show a name next to the id.
At most MAX_NAMES; the oldest are dropped. An entry is <sequence>:<id> <name> (the stored set has no order, the lowest sequence is the oldest). The names come from the network and are cleaned. Pure.
| synchronized String de.yaacc.sendspin.SendspinNames.nameOf | ( | String | clientId | ) |
Referenced by de.yaacc.sendspin.SendspinHub.nameOfPlayer().

