Uses of Interface
sudoku.TimerManager.Protocol
-
-
Uses of TimerManager.Protocol in sudoku
Classes in sudoku that implement TimerManager.Protocol Modifier and Type Class Description static class
TimerManager.CreateMsg
Message creating the agent.static class
TimerManager.NewIterationStartedMsg
Message from the Teacher announcing new big iteration.static class
TimerManager.RemindToCheckTablesMsg
Message from the Teacher waking him up after passing given time to check if its Tables are still alive.static class
TimerManager.TimePassedMsg
Message from the Timer announcing that given time has passed.Fields in sudoku with type parameters of type TimerManager.Protocol Modifier and Type Field Description akka.actor.typed.ActorRef<TimerManager.Protocol>
Timer.CreateMsg. _parent
private akka.actor.typed.ActorRef<TimerManager.Protocol>
Teacher. _timerManager
Teacher's own Timer.Methods in sudoku that return types with arguments of type TimerManager.Protocol Modifier and Type Method Description static akka.actor.typed.Behavior<TimerManager.Protocol>
TimerManager. create(TimerManager.CreateMsg msg)
Public method that calls private constructor.akka.actor.typed.javadsl.Receive<TimerManager.Protocol>
TimerManager. createReceive()
Main method controlling incoming messages.private akka.actor.typed.Behavior<TimerManager.Protocol>
TimerManager. onNewIterationStarted(TimerManager.NewIterationStartedMsg msg)
TimerManager when asked by the Teacher, creates an agent - Timer to measure some time.private akka.actor.typed.Behavior<TimerManager.Protocol>
TimerManager. onRemindToCheckTables(TimerManager.RemindToCheckTablesMsg msg)
TimerManager when asked by the Teacher, creates an agent - Timer to measure some time.private akka.actor.typed.Behavior<TimerManager.Protocol>
TimerManager. onTimePassed(TimerManager.TimePassedMsg msg)
TimerManager is informed that certain time has passed.Constructor parameters in sudoku with type arguments of type TimerManager.Protocol Constructor Description CreateMsg(akka.actor.typed.ActorRef<TimerManager.Protocol> parent, int milliseconds, int timerId, int type)
TimerManager(akka.actor.typed.javadsl.ActorContext<TimerManager.Protocol> context, TimerManager.CreateMsg msg)
Private constructor called only by CreateMsg.
-