Module swim.system
Package swim.system
Class DownlinkRelay<Model extends DownlinkModel<View>,View extends DownlinkView>
- java.lang.Object
-
- swim.system.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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
beginPhase(int phase)
protected void
done()
protected void
endPhase(int phase)
boolean
isDone()
void
run()
protected boolean
runPhase(View view, int phase, boolean preemptive)
-
-
-
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()
-
-