Uses of Interface
sudoku.SudokuSupervisor.Protocol
-
-
Uses of SudokuSupervisor.Protocol in sudoku
Classes in sudoku that implement SudokuSupervisor.Protocol Modifier and Type Class Description static classSudokuSupervisor.IterationFinishedMsgMessage received from the Teacher on every iteration's finish, containing new solution of the Sudoku riddle.static classSudokuSupervisor.SimulateTeacherCrashMsgMessage for making the Teacher crash.static classSudokuSupervisor.TeacherWillRestartMsgMessage when Teacher is going to be restarted.static classSudokuSupervisor.TerminateMsgMessage for controlled termination of the agent.Fields in sudoku with type parameters of type SudokuSupervisor.Protocol Modifier and Type Field Description private akka.actor.typed.ActorRef<SudokuSupervisor.Protocol>Teacher. _parentParent agent(package private) akka.actor.typed.ActorRef<SudokuSupervisor.Protocol>Teacher.CreateMsg. _replyToMethods in sudoku that return types with arguments of type SudokuSupervisor.Protocol Modifier and Type Method Description static akka.actor.typed.Behavior<SudokuSupervisor.Protocol>SudokuSupervisor. create()Public method that calls private constructor.akka.actor.typed.javadsl.Receive<SudokuSupervisor.Protocol>SudokuSupervisor. createReceive()Main method controlling incoming messages.private akka.actor.typed.Behavior<SudokuSupervisor.Protocol>SudokuSupervisor. onIterationFinished(SudokuSupervisor.IterationFinishedMsg msg)As every iteration finishes, SudokuSupervisor saves new (iterated) solution on the hard drive.private akka.actor.typed.Behavior<SudokuSupervisor.Protocol>SudokuSupervisor. onSimulateTeacherCrash(SudokuSupervisor.SimulateTeacherCrashMsg msg)Behaviour towards SimulateTeacherCrashMsg message.private akka.actor.typed.Behavior<SudokuSupervisor.Protocol>SudokuSupervisor. onTeacherWillRestart(SudokuSupervisor.TeacherWillRestartMsg msg)Behaviour towards TeacherWillRestartMsg message.private akka.actor.typed.Behavior<SudokuSupervisor.Protocol>SudokuSupervisor. onTermination(SudokuSupervisor.TerminateMsg terminateMsg)Behaviour towards TerminateMsg message.Constructor parameters in sudoku with type arguments of type SudokuSupervisor.Protocol Constructor Description CreateMsg(String name, Sudoku sudoku, akka.actor.typed.ActorRef<SudokuSupervisor.Protocol> replyTo)SudokuSupervisor(akka.actor.typed.javadsl.ActorContext<SudokuSupervisor.Protocol> context)
-