Index
All Classes|All Packages
H
- handleAction(Action) - Method in class it.polimi.ingsw.model.TurnManager
-
Perform an action and change current turn state
- handleAction(Action) - Method in class it.polimi.ingsw.network.client.LocalVirtualModel
- handleAction(Action) - Method in class it.polimi.ingsw.network.client.NetworkVirtualModel
- handleAction(Action) - Method in interface it.polimi.ingsw.network.client.VirtualModel
-
Forward action to serve
- handleClientDisconnection(ServerClientHandler) - Method in class it.polimi.ingsw.network.server.Match
-
If the game is not running this method deletes the client Sends to Client a disconnected message if the disconnection is caused by the server
- handleError(ErrorType) - Method in class it.polimi.ingsw.network.client.Client
-
handles error received from the server
- handleLogin(Message, ServerClientHandler) - Method in class it.polimi.ingsw.network.server.Match
-
handles the login message registering the player to the server.
- handleMessage(Message) - Method in class it.polimi.ingsw.network.client.Client
-
Takes the message and handles it performing the expected action based on the message type and the payload content NOTE: msg cannot be null
- handleMessage(Message) - Method in class it.polimi.ingsw.network.client.LocalVirtualModel
- handleMessage(Message) - Method in class it.polimi.ingsw.network.client.NetworkVirtualModel
- handleMessage(Message) - Method in interface it.polimi.ingsw.network.client.VirtualModel
-
Forward message to server
- handleServerConnection() - Method in class it.polimi.ingsw.network.client.ServerConnector
-
Receives messages from server formatted in Json, de-parses them into Message class and sends them to client
- hashCode() - Method in class it.polimi.ingsw.utility.Pair
- helpString - Static variable in class it.polimi.ingsw.Main
-
The string printed on -h or --help program argument
All Classes|All Packages