Class ClajEvents.ActionDeniedEvent
java.lang.Object
com.xpdustry.claj.server.ClajEvents.ActionDeniedEvent
- Enclosing class:
ClajEvents
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 Summary
FieldsModifier and TypeFieldDescriptionfinal ClajConnectionfinal com.xpdustry.claj.common.status.MessageTypefinal ClajRoom -
Constructor Summary
ConstructorsConstructorDescriptionActionDeniedEvent(ClajConnection connection, ClajRoom room, com.xpdustry.claj.common.status.MessageType reason) -
Method Summary
-
Field Details
-
connection
-
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)
-