Class Message
java.lang.Object
it.polimi.ingsw.eriantys.messages.Message
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
Accepted,AvailableLobbies,ConnectionMessage,ConnectionUpdate,GameMessage,HelpRequest,HelpResponse,InitialBoardStatus,LobbyUpdate,Ping,Refused,UserActionUpdate
A class representing the most non-specific communication item exchanged between client-side and server-side.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Message
-
-
Method Details
-
getSender
A getter for the entity which is sending {@link this}.- Returns:
- the identifier of the sender
-