Module swim.runtime
Package swim.runtime

Class DownlinkRelay<Model extends DownlinkModel<View>,​View extends DownlinkView>

    • Field Detail

      • 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
    • Constructor Detail

      • DownlinkRelay

        protected DownlinkRelay​(Model model,
                                int minPhase,
                                int phaseCount,
                                Stage stage)
      • DownlinkRelay

        protected DownlinkRelay​(Model model,
                                int phaseCount)
      • DownlinkRelay

        protected DownlinkRelay​(Model model)
    • 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()
      • run

        public void run()
        Specified by:
        run in interface Runnable