|
YAACC - UPNP Client and Server
|
What one player holds: the shares of the items it plays. More...

Public Member Functions | |
| boolean | moveToItems (Object current, Object next) |
| Holds exactly the shares of the two items from now on: what was held before and is not wanted any more is released first, then what is missing is bound. | |
| void | drop () |
| Releases everything this lease holds; the lease can be used again. | |
| boolean | isClosed () |
True once close() was called: the player is gone, a move that fails is no failure of an item. | |
| void | close () |
| Releases everything and refuses further moves; calling it again does nothing. | |
What one player holds: the shares of the items it plays.
drop() lets go of everything and the lease can be used again (the player was stopped and may start again); close() is final (the player is gone).
| void de.yaacc.share.QueueShareWindow.Lease.drop | ( | ) |
Releases everything this lease holds; the lease can be used again.
Never waits for a bind.
Referenced by de.yaacc.share.QueueShareWindow.Lease.close().

| boolean de.yaacc.share.QueueShareWindow.Lease.moveToItems | ( | Object | current, |
| Object | next ) |
Holds exactly the shares of the two items from now on: what was held before and is not wanted any more is released first, then what is missing is bound.
An item that is not part of the queue needs no share (true); null means no item.