java.lang.Object
it.polimi.ingsw.eriantys.messages.Message
it.polimi.ingsw.eriantys.messages.server.Refused
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
RefusedReconnect

public class Refused extends Message
A Message sent by the server in order to communicate the refusal of the associated client request. The class represents a non-specific communication item which can be overridden for further object-oriented implementations.
See Also:
  • Constructor Details

    • Refused

      public Refused(String details)
  • Method Details

    • getDetails

      public String getDetails()
      A getter for the details attached within the message itself, which can include a description for the reason behind the refusal.
      Returns:
      the details of the refusal