Module swim.runtime
Package swim.runtime
Class DownlinkRelay<Model extends DownlinkModel<View>,View extends DownlinkView>
- java.lang.Object
-
- swim.runtime.DownlinkRelay<Model,View>
-
- All Implemented Interfaces:
Runnable
public abstract class DownlinkRelay<Model extends DownlinkModel<View>,View extends DownlinkView> extends Object implements Runnable
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DownlinkRelay(Model model)
protected
DownlinkRelay(Model model, int phaseCount)
protected
DownlinkRelay(Model model, int minPhase, int phaseCount, Stage stage)
-
-
-
Field Detail
-
model
protected final Model extends DownlinkModel<View> model
-
views
protected final Object views
-
viewCount
protected final int viewCount
-
phaseCount
protected final int phaseCount
-
viewIndex
protected int viewIndex
-
phase
protected int phase
-
preemptive
protected boolean preemptive
-
stage
protected Stage stage
-
-
Method Detail
-
isDone
public boolean isDone()
-
beginPhase
protected void beginPhase(int phase)
-
runPhase
protected boolean runPhase(View view, int phase, boolean preemptive)
-
endPhase
protected void endPhase(int phase)
-
done
protected void done()
-
-