YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.sendspin.SendspinApprovals Class Reference

The operator's approvals of unpaired players, by client_id, kept across restarts; the oldest are dropped beyond SendspinSettings#MAX_APPROVALS. More...

Collaboration diagram for de.yaacc.sendspin.SendspinApprovals:
Collaboration graph

Public Member Functions

 SendspinApprovals (StringSetStore store)
 
synchronized boolean isApproved (String clientId)
 
synchronized void approve (String clientId)
 
synchronized java.util.List< String > ids ()
 The ids of the approved players, sorted.
 
synchronized void revoke (String clientId)
 

Detailed Description

The operator's approvals of unpaired players, by client_id, kept across restarts; the oldest are dropped beyond SendspinSettings#MAX_APPROVALS.

A stored set has no order (the preferences give a hash set), so each entry is written as <sequence>:<client id> and the lowest sequence is the oldest. Pure.


The documentation for this class was generated from the following file: