Interface MovieDecoder.Action
- All Known Implementing Classes:
MovieDecoder.RewindAction
,MovieDecoder.SetRateAction
,MovieDecoder.StartAction
,MovieDecoder.StopAction
- Enclosing class:
MovieDecoder
public static interface MovieDecoder.Action
This is the base class for actions performed on the processor.
Each subclass of Action defines an operation that can be
performed on the processor. Actions are put into a queue and
processed sequentially. This is necessary because calls made
to control the state of the processor are prone to long delays,
and also may cause callbacks to the handlers which can cause
deadlocks.
-
Method Summary
-
Method Details
-
run
void run()Perform the specified action. Called by the control thread when this action is to be performed.
-