Class ClajRoom<T>
java.lang.Object
com.xpdustry.claj.api.ClajRoom<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionintCurrent number of client in the room.booleanWhether the room needs a password to join, or not.booleanNote that for privacy, the server will never notify this.The link to the room.intMaximum number of CLaJ client allowed in this room.final longOnly presents if the room is public and the server has retrieved his state.com.xpdustry.claj.common.status.ClajTypeRoom implementation type. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
roomId
public final long roomId -
isPublic
public boolean isPublicNote that for privacy, the server will never notify this. -
isProtected
public boolean isProtectedWhether the room needs a password to join, or not. -
state
Only presents if the room is public and the server has retrieved his state. -
link
The link to the room. -
type
public com.xpdustry.claj.common.status.ClajType typeRoom implementation type. -
clients
public int clientsCurrent number of client in the room. -
maxClients
public int maxClientsMaximum number of CLaJ client allowed in this room.0means no limit.
-
-
Constructor Details
-
ClajRoom
public ClajRoom(long roomId) -
ClajRoom
-