Class JoinLobby

All Implemented Interfaces:
Serializable

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

    • JoinLobby

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

    • getGameId

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