Creates the share of one item of a picked queue when a player needs it and releases it again: the placeholder item of the player gets the proxy url and the DIDL item of the registered share (ShareService#prepare, the allowed addresses are those of the receiver this player plays on, resolved once when the queue was confirmed), and releasing removes the share from the registry at once (not after the idle grace), so a finished file is not reachable any more.
More...
Creates the share of one item of a picked queue when a player needs it and releases it again: the placeholder item of the player gets the proxy url and the DIDL item of the registered share (ShareService#prepare, the allowed addresses are those of the receiver this player plays on, resolved once when the queue was confirmed), and releasing removes the share from the registry at once (not after the idle grace), so a finished file is not reachable any more.
Never logs a key, url or name.
◆ QueueShareBinder()
| de.yaacc.share.QueueShareBinder.QueueShareBinder |
( |
List< PickedQueue.Entry > | entries, |
|
|
List< PlayableItem > | items, |
|
|
Set< String > | allowedAddresses, |
|
|
Preparer | preparer, |
|
|
Keys | keys, |
|
|
Durations | durations ) |
- Parameters
-
| entries | the picked files of this queue, in play order |
| items | this player's placeholder items, same order and size as entries |
| allowedAddresses | the addresses of the receiver this player plays on, fixed at the confirm (the share is allowed for them only) |
◆ bind()
| QueueShareWindow.Bound de.yaacc.share.QueueShareBinder.bind |
( |
int | index | ) |
|
The documentation for this class was generated from the following file:
- /github/workspace/yaacc/src/main/java/de/yaacc/share/QueueShareBinder.java