Class Response
java.lang.Object
it.polimi.ingsw.Server.Messages.Message
it.polimi.ingsw.Server.Messages.ServerResponses.Response
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
FixedStatusResponse
,GameInit
,LobbyConnected
,LobbyServerAccept
,PlayerActionFeedback
Any message sent by the
WelcomeServer
or LobbyServer
will
inherit this class.- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
statusCode
-
-
Constructor Details
-
Response
Construct the response- Parameters:
statusCode
- the status code of the response
-
-
Method Details
-
getStatusCode
Get the status code of the response- Returns:
- true if the response is positive, false otherwise
-