Uses of Interface
sudoku.Table.Protocol
-
-
Uses of Table.Protocol in sudoku
Subinterfaces of Table.Protocol in sudoku Modifier and Type Interface Description static interface
Table.InitialisationProtocol
Protocol interface for messages for initialisation strategyClasses in sudoku that implement Table.Protocol Modifier and Type Class Description static class
Table.AcceptNegotiationsResultsMsg
Message telling that the Player accepted negotiations results.static class
Table.AdditionalInfoMsg
Message received from the Player, consisting of it's subjective weights of requested digits.static class
Table.CreateMsg
Message for creating the Table.static class
Table.NegotiationsMsg
Abstract class for messages received from the Player during negotiations.static class
Table.OfferMsg
Message received from the Player, consisting of it's subjectively the best digit to be insertedstatic class
Table.PlayerIsDeadMsg
Message received from the Player when agent is about to crash.static class
Table.RegisterPlayerMsg
Message for registering a Player.static class
Table.ResetMemoryMsg
Message commanding the agent to reset it's memory due to start of new iteration.static class
Table.WakeUpMsg
Message received from the Teacher when agent is not responding.static class
Table.WithdrawOfferMsg
Message received when the Player withdraws it's present offer.Fields in sudoku with type parameters of type Table.Protocol Modifier and Type Field Description akka.actor.typed.ActorRef<Table.Protocol>
Player.NegotiationsMsg. _replyTo
private AgentMap<akka.actor.typed.ActorRef<Table.Protocol>>
Player. _tables
Map from global Table id to internal index and Table reference.private Map<Integer,akka.actor.typed.ActorRef<Table.Protocol>>
Teacher. _tables
Data structure for storing all Tables - child agents.(package private) akka.actor.typed.ActorRef<Table.Protocol>
Player.RegisterTableMsg. _tableToRegister
Methods in sudoku that return types with arguments of type Table.Protocol Modifier and Type Method Description static akka.actor.typed.Behavior<Table.Protocol>
Table. create(Table.CreateMsg createMsg)
Public method that calls private constructor.akka.actor.typed.javadsl.Receive<Table.Protocol>
Table. createReceive()
Main method controlling incoming messages.private akka.actor.typed.Behavior<Table.Protocol>
Table. onAcceptNegotiationsResults(Table.AcceptNegotiationsResultsMsg msg)
Table collects accepting messages and finishes negotiations.private akka.actor.typed.Behavior<Table.Protocol>
Table. onAdditionalInfo(Table.AdditionalInfoMsg msg)
Receives requested weighs for given digits.private akka.actor.typed.Behavior<Table.Protocol>
Table. onOffer(Table.OfferMsg msg)
Receives new offer from registered Player.private akka.actor.typed.Behavior<Table.Protocol>
Table. onPlayerIsDead(Table.PlayerIsDeadMsg msg)
Table is being informed that its Player is dead.private akka.actor.typed.Behavior<Table.Protocol>
Table. onRegisterPlayer(Table.RegisterPlayerMsg msg)
Registers new Player to this Table.private akka.actor.typed.Behavior<Table.Protocol>
Table. onResetMemory(Table.ResetMemoryMsg msg)
Table resets it's memory to get ready for new iteration.private akka.actor.typed.Behavior<Table.Protocol>
Table. onWakeUp(Table.WakeUpMsg msg)
Table is being informed that is not enough responsive.private akka.actor.typed.Behavior<Table.Protocol>
Table. onWithdrawOffer(Table.WithdrawOfferMsg msg)
Action on the Player's present offer withdrawal.Constructor parameters in sudoku with type arguments of type Table.Protocol Constructor Description AdditionalInfoRequestMsg(int[] otherDigits, akka.actor.typed.ActorRef<Table.Protocol> replyTo, int tableId, int iterationId)
NegotiationsFinishedMsg(int resultingDigit, akka.actor.typed.ActorRef<Table.Protocol> replyTo, int tableId, int iterationId)
NegotiationsMsg(akka.actor.typed.ActorRef<Table.Protocol> replyTo, int tableId, int iterationId)
NegotiationsPositiveMsg(int approvedDigit, akka.actor.typed.ActorRef<Table.Protocol> replyTo, int tableId, int iterationId)
RegisterTableMsg(akka.actor.typed.ActorRef<Table.Protocol> tableToRegister, int tableId, int digit, boolean mask, akka.actor.typed.ActorRef<Teacher.Protocol> replyTo)
RejectOfferMsg(int rejectedDigit, akka.actor.typed.ActorRef<Table.Protocol> replyTo, int tableId, int iterationId)
Table(akka.actor.typed.javadsl.ActorContext<Table.Protocol> context, Table.CreateMsg createMsg)
-