Class ClajEvents.ActionDeniedEvent

java.lang.Object
com.xpdustry.claj.server.ClajEvents.ActionDeniedEvent
Enclosing class:
ClajEvents

public static class ClajEvents.ActionDeniedEvent extends Object
Defines an action tried by a connection but was not allowed to do it.

E.g. a client of the room tried to close it, or the host tried to join another room while hosting one.

  • Field Details

    • connection

      public final ClajConnection connection
    • room

      public final ClajRoom room
    • reason

      public final com.xpdustry.claj.common.status.MessageType reason
  • Constructor Details

    • ActionDeniedEvent

      public ActionDeniedEvent(ClajConnection connection, ClajRoom room, com.xpdustry.claj.common.status.MessageType reason)