Class LeaveLobby

All Implemented Interfaces:
Serializable

public class LeaveLobby extends ConnectionMessage
A ConnectionMessage sent by a client in order to request the server to leave the lobby.
See Also:
  • Constructor Details

    • LeaveLobby

      public LeaveLobby(String sender, int gameId)
  • Method Details

    • getGameId

      public int getGameId()
      A getter for the identifier of the lobby which the user is requesting to exit.
      Returns:
      the identifier of the game