Class DisconnectionUpdate

All Implemented Interfaces:
Serializable

public class DisconnectionUpdate extends ConnectionUpdate
A message of type ConnectionUpdate sent by the server in order to broadcast a reconnection event.
See Also:
  • Constructor Details

    • DisconnectionUpdate

      public DisconnectionUpdate(String subject, int numPlayers, boolean gameIdle)
  • Method Details

    • isGameIdle

      public boolean isGameIdle()
      A getter for the game status.
      Returns:
      true if and only if the game has been set in an idle state following the event