|
YAACC - UPNP Client and Server
|
Adapts a PickedAction to PendingPick.Callbacks and puts it under the single ActionFlight: a confirm begins the flight, hands the action a done callback that ends it, and an action that throws ends it too.
More...


Public Member Functions | |
| GuardedPickedAction (ActionFlight flight, PickedAction action) | |
| void | onConfirmed (Set< String > receiverIds) |
| The user confirmed with these receivers (never empty; unmodifiable). | |
| void | onCancelled () |
| The user dismissed the picker, or it was abandoned: release what the action had reserved. | |
Public Member Functions inherited from de.yaacc.share.PendingPick.Callbacks | |
Adapts a PickedAction to PendingPick.Callbacks and puts it under the single ActionFlight: a confirm begins the flight, hands the action a done callback that ends it, and an action that throws ends it too.
A confirm while another action is in flight is refused: the action only hears PickedAction#onCancelled() and nothing was stored.
| void de.yaacc.share.GuardedPickedAction.onCancelled | ( | ) |
The user dismissed the picker, or it was abandoned: release what the action had reserved.
Implements de.yaacc.share.PendingPick.Callbacks.

| void de.yaacc.share.GuardedPickedAction.onConfirmed | ( | Set< String > | receiverIds | ) |
The user confirmed with these receivers (never empty; unmodifiable).
Implements de.yaacc.share.PendingPick.Callbacks.
