Class AcceptedUsername

All Implemented Interfaces:
Serializable

public class AcceptedUsername extends Accepted
A message of type Accepted sent by the server in order to tell the client the acceptance of a Handshake request.
See Also:
  • Constructor Details

    • AcceptedUsername

      public AcceptedUsername(String username)
  • Method Details

    • getUsername

      public String getUsername()
      A getter for the (global and unique) username which the client chose.
      Returns:
      the chosen username