java.lang.Object
it.polimi.ingsw.network.message.Message
it.polimi.ingsw.network.message.MessageFromClientToServer
- Direct Known Subclasses:
AddWorkerRequest,BuildableCellsRequest,ChooseInitialGodsResponse,ChooseStartingPlayerResponse,ChooseToReloadMatchResponse,ChooseYourGodResponse,CreateLobbyRequest,EndTurnRequest,JoinLobbyRequest,LoginRequest,PlayerBuildRequest,PlayerMoveRequest,SelectBuildingCellRequest,SelectWorkerRequest,WalkableCellsRequest
public abstract class MessageFromClientToServer extends Message
Abstract Message type
Generalizes all the messages travelling from the clients to the server;
Defines the abstract method callVisitor, to implement the
Visitor pattern.
- See Also:
VirtualClient,MessageManagerParser
-
Constructor Summary
Constructors Constructor Description MessageFromClientToServer(java.lang.String username, Type type) -
Method Summary
Modifier and Type Method Description abstract voidcallVisitor(ServerMessageManagerVisitor visitor)