Uses of Class
it.polimi.ingsw.Server.Controller.GameController
Packages that use GameController
-
Uses of GameController in it.polimi.ingsw.Server
Fields in it.polimi.ingsw.Server with type parameters of type GameControllerModifier and TypeFieldDescriptionprivate static Map<ClientStatusInterface,
GameController> RMIServer.clientStatusToController
private static Map<GameController,
Object> RMIServer.controllerToCommuter
private static final Map<GameController,
Object> ServerManager.controllerToCommuter
private static Map<GameController,
Object> SocketServer.controllerToCommuter
private static Map<GameController,
Object> RMIServer.controllerToLobbyCommuter
private static final Map<GameController,
Object> ServerManager.controllerToLobbyCommuter
private static Map<GameController,
Object> SocketServer.controllerToLobbyCommuter
private static Map<GameController,
Semaphore> RMIServer.controllerToSemaphore
private static final Map<GameController,
Semaphore> ServerManager.controllerToSemaphore
private static Map<GameController,
Semaphore> SocketServer.controllerToSemaphore
private static Map<String,
GameController> RMIServer.identifierToController
private static final Map<String,
GameController> ServerManager.identifierToController
private static Map<String,
GameController> SocketServer.identifierToController
private static final Map<PrintWriter,
GameController> SocketServer.printWriterToGameController
private static final Map<Socket,
GameController> SocketServer.socketToGameController
Methods in it.polimi.ingsw.Server that return GameControllerModifier and TypeMethodDescriptionprivate GameController
RMIServer.loginCheck
(ClientStatusInterface csi, String clientIdentifier, String clientNickname) Game's lobby admission and re-enter strategyMethods in it.polimi.ingsw.Server with parameters of type GameControllerModifier and TypeMethodDescriptionprivate RMIServer.AdmissionResult
RMIServer.admission
(ClientStatusInterface csi, String clientNickname, GameController controller) Admission phase implementationprivate static boolean
SocketServer.admissionResult
(GameController gc, String nickname, PrintWriter out, int numofPlayers, com.google.gson.Gson gson) this method manages admission phasestatic void
RMIServer.endGameHandler
(GameController gc, boolean invokedBySocket) Implements End Game strategy, informing all clients (RMI and Socket ones) to disconnect ad deallocates Model Objects from global structuresstatic void
SocketServer.endGameHandler
(GameController gc, boolean invokedbyRMI, boolean invokedAtKATimeout) Implements End Game strategy, informing all clients (Socket and RMI ones) to disconnect ad deallocates Model Objects from global structuresprivate static void
SocketServer.makeMove
(GameController gc, PrintWriter out, com.google.gson.Gson gson, AtomicBoolean clientsTurn, ProducerConsumerLock lineLockers, AtomicReference<String> l, com.google.gson.Gson gson_move) this method manages the move phaseprivate static void
RMIServer.sendScoreBoard
(ClientStatusInterface csi, GameController controller) Sets Final Scoreboard and informs client of the availabilityprivate void
RMIServer.turnManagement
(ClientStatusInterface csi, String clientIdentifier, String clientNickname, GameController controller, RMIServer.AdmissionResult admissionResult) Turn Management implementationprivate static void
SocketServer.updateClientStatus
(GameController gc, String nickname, PrintWriter out, com.google.gson.Gson gson) this method sends Board, Shelf and cards at the end of every turnConstructors in it.polimi.ingsw.Server with parameters of type GameControllerModifierConstructorDescriptionSocketKeepAlive
(Socket socket, GameController gc) Naive Application-level KeepAlive implementationConstructor parameters in it.polimi.ingsw.Server with type arguments of type GameControllerModifierConstructorDescriptionRMILifeline
(ClientStatusInterface csi, Map<ClientStatusInterface, GameController> clientStatusToController) Naive Application-level KeepAlive implementationRMIServer
(Map<String, GameController> identifierToController, Map<GameController, Semaphore> controllerToSemaphore, Map<GameController, Object> controllerToCommuter, Map<GameController, Object> controllerToLobbyCommuter) RMIServer constructor, managed by the Server Manager by defaultSocketServer
(Map<String, GameController> identifierToController, Map<GameController, Semaphore> controllerToSemaphore, Map<GameController, Object> controllerToCommuter, Map<GameController, Object> controllerToLobbyCommuter) SocketServer constructor, managed by the Server Manager by default -
Uses of GameController in it.polimi.ingsw.Server.Controller
Fields in it.polimi.ingsw.Server.Controller declared as GameControllerModifier and TypeFieldDescriptionprivate final GameController
MoveIntermediate.gc
Game's controllerFields in it.polimi.ingsw.Server.Controller with type parameters of type GameControllerModifier and TypeFieldDescriptionprivate final Map<ClientStatusInterface,
GameController> RMIController.clientStatusToController
private final Map<ClientStatusInterface,
GameController> StatusIntermediate.clientStatusToController
private final Map<String,
GameController> RMIController.identifierToController
Associates a Game's identifier to its controllerMethods in it.polimi.ingsw.Server.Controller that return GameControllerModifier and TypeMethodDescriptionGameController.refreshEntities()
Objects refresh following a game reloaded from a persistency fileMethods in it.polimi.ingsw.Server.Controller with parameters of type GameControllerConstructors in it.polimi.ingsw.Server.Controller with parameters of type GameControllerModifierConstructorDescriptionMoveIntermediate
(Board b, Shelf s, GameController gc, Player p) Move Intermediate constructorConstructor parameters in it.polimi.ingsw.Server.Controller with type arguments of type GameControllerModifierConstructorDescriptionRMIController
(Map<String, GameController> identifierToController, Map<ClientStatusInterface, GameController> clientStatusToController) RMI Controller constructorStatusIntermediate
(RMIServer server, Map<ClientStatusInterface, GameController> clientStatusToController) Status Intermediate Constructor