Class AcceptedUsername
java.lang.Object
it.polimi.ingsw.eriantys.messages.Message
it.polimi.ingsw.eriantys.messages.server.Accepted
it.polimi.ingsw.eriantys.messages.server.AcceptedUsername
- All Implemented Interfaces:
Serializable
A message of type
Accepted
sent by the server in order to
tell the client the acceptance of a Handshake
request.- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionA getter for the (global and unique) username which the client chose.
-
Constructor Details
-
AcceptedUsername
-
-
Method Details
-
getUsername
A getter for the (global and unique) username which the client chose.- Returns:
- the chosen username
-