Index

A B C D E F G H I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

acceptJoinRequest(ClajConnection, ClajRoom) - Method in class com.xpdustry.claj.server.ClajRelay
 
acceptNoType - Static variable in class com.xpdustry.claj.server.ClajConfig
 
ActionDeniedEvent(ClajConnection, ClajRoom, MessageType) - Constructor for class com.xpdustry.claj.server.ClajEvents.ActionDeniedEvent
 
add(ClajConnection) - Method in class com.xpdustry.claj.server.ClajRoutines.AddressRater
 
add(Autosaver.Saveable) - Static method in class com.xpdustry.claj.server.util.Autosaver
Adds to the normal priority.
add(Autosaver.Saveable, Autosaver.SavePriority) - Static method in class com.xpdustry.claj.server.util.Autosaver
 
add(T) - Method in class com.xpdustry.claj.server.ClajConfig.SetField
 
addChild(ClassLoader) - Method in class com.xpdustry.claj.server.plugin.PluginClassLoader
 
addClient(ClajRoom, ClajConnection) - Method in class com.xpdustry.claj.server.ClajRelay
 
addQueue(RawPacket) - Method in class com.xpdustry.claj.server.ClajConnection
 
address - Variable in class com.xpdustry.claj.server.ClajConnection
 
address - Variable in class com.xpdustry.claj.server.ClajRoutines.AddressRater
 
AddressRater(InetAddress) - Constructor for class com.xpdustry.claj.server.ClajRoutines.AddressRater
 
addSerializer(Class, Json.Serializer) - Method in class com.xpdustry.claj.server.util.JsonSettings
 
afk - Variable in class com.xpdustry.claj.server.ClajRoutines
Used to calculate whether a room is afk or not.
afkTime - Static variable in class com.xpdustry.claj.server.ClajConfig
 
all - Static variable in class com.xpdustry.claj.server.ClajConfig
 
allocatedHeap - Variable in class com.xpdustry.claj.server.ClajStateSummary
 
allocatedMeta - Variable in class com.xpdustry.claj.server.ClajStateSummary
 
allowConnected(Connection) - Method in class com.xpdustry.claj.server.ClajRelay
Will also prepare the connection if valid.
allowCreate() - Method in class com.xpdustry.claj.server.ClajRoutines.AddressRater
 
allowDisconnected(Connection, DcReason) - Method in class com.xpdustry.claj.server.ClajRelay
Weird name =/.
allowIdle(Connection) - Method in class com.xpdustry.claj.server.ClajRelay
We don't need that for moment.
allowInfo() - Method in class com.xpdustry.claj.server.ClajRoutines.AddressRater
 
allowJoin() - Method in class com.xpdustry.claj.server.ClajRoutines.AddressRater
 
allowList() - Method in class com.xpdustry.claj.server.ClajRoutines.AddressRater
 
allowReceived(Connection, Object) - Method in class com.xpdustry.claj.server.ClajRelay
 
allowsType(ClajType) - Method in class com.xpdustry.claj.server.ClajRoom
 
app - Static variable in class com.xpdustry.claj.server.Main
 
args - Static variable in class com.xpdustry.claj.server.Main
 
array() - Method in class com.xpdustry.claj.server.util.JsonWriterBuilder
 
array(String) - Method in class com.xpdustry.claj.server.util.JsonWriterBuilder
 
author - Variable in class com.xpdustry.claj.server.plugin.Plugins.PluginMeta
 
autosaved - Variable in class com.xpdustry.claj.server.util.JsonSettings
 
Autosaver - Class in com.xpdustry.claj.server.util
Save periodically the registered Autosaver.Saveables and also when the application exit.
Autosaver() - Constructor for class com.xpdustry.claj.server.util.Autosaver
 
Autosaver.Saveable - Interface in com.xpdustry.claj.server.util
Defines a things that can be saved by the Autosaver.
Autosaver.SavePriority - Enum Class in com.xpdustry.claj.server.util
Defines the order to save things.

B

backuped - Variable in class com.xpdustry.claj.server.util.JsonSettings
 
backupExists() - Method in class com.xpdustry.claj.server.util.JsonSettings
 
backupFile - Variable in class com.xpdustry.claj.server.util.JsonSettings
 
backupFile() - Method in class com.xpdustry.claj.server.util.JsonSettings
 
beQuiet - Variable in class com.xpdustry.claj.server.ClajRelay
As the server is very talkative, here is a field to shut up info and warn logs for a time.
blacklist - Static variable in class com.xpdustry.claj.server.ClajConfig
 
buffer - Variable in class com.xpdustry.claj.server.util.NetListenerEvent
 
builder - Variable in class com.xpdustry.claj.server.util.JsonSettings
 

C

CachedRoomList(ClajType, LongMap) - Constructor for class com.xpdustry.claj.server.ClajRoutines.CachedRoomList
 
cancelRoomAfk(ClajRoom) - Method in class com.xpdustry.claj.server.ClajRoutines
 
cancelRoomInfoTask(ClajRoom) - Method in class com.xpdustry.claj.server.ClajRoutines
 
canRequestState - Variable in class com.xpdustry.claj.server.ClajRoom
Whether the host want, or not, the server to request his state when needed.
changed - Variable in class com.xpdustry.claj.server.ClajConfig.Field
 
changed(Cons) - Method in class com.xpdustry.claj.server.ClajConfig.Field
Adds changed callback.
checkRateLimit(ClajConnection) - Method in class com.xpdustry.claj.server.ClajRelay
Simple packet spam protection.
checkRoomHost(ClajConnection, MessageType, String) - Method in class com.xpdustry.claj.server.ClajRelay
 
checkRoomHost(ClajConnection, MessageType, String, Object) - Method in class com.xpdustry.claj.server.ClajRelay
 
checkValue(T) - Method in class com.xpdustry.claj.server.ClajConfig.Field
 
Chunk() - Constructor for class com.xpdustry.claj.server.util.TaskQueue.Chunk
 
CHUNK - Static variable in class com.xpdustry.claj.server.util.TaskQueue
 
circularDependencies - Enum constant in enum class com.xpdustry.claj.server.plugin.Plugins.PluginState
 
ClajConfig - Class in com.xpdustry.claj.server
 
ClajConfig() - Constructor for class com.xpdustry.claj.server.ClajConfig
 
ClajConfig.Field<T> - Class in com.xpdustry.claj.server
 
ClajConfig.SetField<T> - Class in com.xpdustry.claj.server
 
ClajConnection - Class in com.xpdustry.claj.server
 
ClajConnection(Connection) - Constructor for class com.xpdustry.claj.server.ClajConnection
 
ClajControl - Class in com.xpdustry.claj.server
 
ClajControl() - Constructor for class com.xpdustry.claj.server.ClajControl
 
ClajEvents - Class in com.xpdustry.claj.server
 
ClajEvents() - Constructor for class com.xpdustry.claj.server.ClajEvents
 
ClajEvents.ActionDeniedEvent - Class in com.xpdustry.claj.server
Defines an action tried by a connection but was not allowed to do it.
ClajEvents.ClientConnectedEvent - Class in com.xpdustry.claj.server
 
ClajEvents.ClientDisonnectedEvent - Class in com.xpdustry.claj.server
When a connection left the server.
ClajEvents.ClientKickedEvent - Class in com.xpdustry.claj.server
Currently, the only reason is for packet spam.
ClajEvents.ConfigurationChangedEvent - Class in com.xpdustry.claj.server
 
ClajEvents.ConnectionJoinedEvent - Class in com.xpdustry.claj.server
When a connection join a room.
ClajEvents.ConnectionJoinRejectedEvent - Class in com.xpdustry.claj.server
 
ClajEvents.ConnectionLeftEvent - Class in com.xpdustry.claj.server
When a connection left a room.
ClajEvents.ConnectionPreJoinEvent - Class in com.xpdustry.claj.server
When a connection will join a room.
ClajEvents.HostKickedEvent - Class in com.xpdustry.claj.server
 
ClajEvents.RoomClosedEvent - Class in com.xpdustry.claj.server
 
ClajEvents.RoomCreatedEvent - Class in com.xpdustry.claj.server
 
ClajEvents.RoomCreationRejectedEvent - Class in com.xpdustry.claj.server
 
ClajEvents.RoomInfoRejectedEvent - Class in com.xpdustry.claj.server
 
ClajEvents.RoomListRejectedEvent - Class in com.xpdustry.claj.server
 
ClajEvents.ServerLoadedEvent - Class in com.xpdustry.claj.server
 
ClajEvents.ServerStoppingEvent - Class in com.xpdustry.claj.server
 
ClajEvents.StateChangedEvent - Class in com.xpdustry.claj.server
 
ClajRelay - Class in com.xpdustry.claj.server
CLaJ server main class that doing all the stuff.
ClajRelay(int) - Constructor for class com.xpdustry.claj.server.ClajRelay
 
ClajRelay(int, boolean) - Constructor for class com.xpdustry.claj.server.ClajRelay
 
ClajRoom - Class in com.xpdustry.claj.server
 
ClajRoom(long, ClajConnection, ClajType) - Constructor for class com.xpdustry.claj.server.ClajRoom
 
ClajRoutines - Class in com.xpdustry.claj.server
Class holding caches and CLaJ routines, such as cleaning AddressRater, closing afk rooms, pending request, etc.
ClajRoutines() - Constructor for class com.xpdustry.claj.server.ClajRoutines
 
ClajRoutines.AddressRater - Class in com.xpdustry.claj.server
 
ClajRoutines.CachedRoomList - Class in com.xpdustry.claj.server
 
ClajServerSerializer - Class in com.xpdustry.claj.server
 
ClajServerSerializer() - Constructor for class com.xpdustry.claj.server.ClajServerSerializer
 
ClajServerSerializer(NetworkSpeed, NetworkSpeed) - Constructor for class com.xpdustry.claj.server.ClajServerSerializer
 
ClajStateSummary - Class in com.xpdustry.claj.server
Class that hold a summary of the current server state at his call.
ClajVars - Class in com.xpdustry.claj.server
 
ClajVars() - Constructor for class com.xpdustry.claj.server.ClajVars
 
classTopicFormat - Static variable in class com.xpdustry.claj.server.plugin.PluginLogger
 
clean - Variable in class com.xpdustry.claj.server.ClajRoutines.AddressRater
 
cleanup() - Method in class com.xpdustry.claj.server.plugin.Plugins.PluginMeta
Removes all colors
clear() - Method in class com.xpdustry.claj.server.ClajConfig.SetField
 
clear() - Static method in class com.xpdustry.claj.server.util.Autosaver
Don't do that!
clear() - Method in class com.xpdustry.claj.server.util.JsonSettings
Clears all preference values.
clear() - Method in class com.xpdustry.claj.server.util.TaskQueue
 
clear(Autosaver.SavePriority) - Static method in class com.xpdustry.claj.server.util.Autosaver
Don't do that!
clearAndStop() - Method in class com.xpdustry.claj.server.ClajRelay
 
clearCaches(Cons2) - Method in class com.xpdustry.claj.server.ClajRoutines
 
clearClientCache(ClajConnection) - Method in class com.xpdustry.claj.server.ClajRoutines
 
clearQueue() - Method in class com.xpdustry.claj.server.ClajConnection
 
clearRoom(ClajRoom, DcReason, boolean) - Method in class com.xpdustry.claj.server.ClajRelay
Disconnect all clients of the room.
clearRoomCache(ClajRoom, boolean) - Method in class com.xpdustry.claj.server.ClajRoutines
 
clearRoomListCache(ClajType) - Method in class com.xpdustry.claj.server.ClajRoutines
 
ClientConnectedEvent(ClajConnection) - Constructor for class com.xpdustry.claj.server.ClajEvents.ClientConnectedEvent
 
ClientDisonnectedEvent(ClajConnection, DcReason) - Constructor for class com.xpdustry.claj.server.ClajEvents.ClientDisonnectedEvent
 
ClientKickedEvent(ClajConnection) - Constructor for class com.xpdustry.claj.server.ClajEvents.ClientKickedEvent
 
clientLimit - Static variable in class com.xpdustry.claj.server.ClajConfig
 
clients - Variable in class com.xpdustry.claj.server.ClajRoom
 
clients - Variable in class com.xpdustry.claj.server.ClajStateSummary
 
clients() - Method in class com.xpdustry.claj.server.ClajRoom
 
clientsInRooms - Variable in class com.xpdustry.claj.server.ClajRelay
Total number of clients in rooms.
clientsInRooms() - Method in class com.xpdustry.claj.server.ClajRelay
 
clientsMap - Variable in class com.xpdustry.claj.server.ClajRoom
 
close() - Method in class com.xpdustry.claj.server.ClajConnection
 
close() - Method in class com.xpdustry.claj.server.ClajRoom
 
close() - Method in class com.xpdustry.claj.server.util.JsonWriterBuilder
 
close(DcReason) - Method in class com.xpdustry.claj.server.ClajConnection
 
close(CloseReason) - Method in class com.xpdustry.claj.server.ClajRoom
Closes the room and disconnects the host and all clients.
close(CloseReason, boolean) - Method in class com.xpdustry.claj.server.ClajRoom
 
closed - Variable in class com.xpdustry.claj.server.ClajRelay
 
closed - Variable in class com.xpdustry.claj.server.ClajRoom
 
closedAt - Variable in class com.xpdustry.claj.server.ClajRoom
Closing date of the room.
closeQuietly() - Method in class com.xpdustry.claj.server.ClajRoom
Same as ClajRoom.close(), but doesn't notify closure to host.
closeRoom(ClajRoom) - Method in class com.xpdustry.claj.server.ClajRelay
Will not notify closure to room host.
closeRoom(ClajRoom, CloseReason) - Method in class com.xpdustry.claj.server.ClajRelay
 
closeRoom(ClajRoom, CloseReason, boolean) - Method in class com.xpdustry.claj.server.ClajRelay
 
closeRoomList(ClajType) - Method in class com.xpdustry.claj.server.ClajRelay
 
closeRoomList(ClajType, CloseReason) - Method in class com.xpdustry.claj.server.ClajRelay
 
closeRooms() - Method in class com.xpdustry.claj.server.ClajRelay
 
closeRooms(CloseReason) - Method in class com.xpdustry.claj.server.ClajRelay
 
closeWait - Static variable in class com.xpdustry.claj.server.ClajConfig
 
com.xpdustry.claj.server - package com.xpdustry.claj.server
 
com.xpdustry.claj.server.plugin - package com.xpdustry.claj.server.plugin
 
com.xpdustry.claj.server.util - package com.xpdustry.claj.server.util
 
commands - Variable in class com.xpdustry.claj.server.plugin.Plugins
 
compressed - Variable in class com.xpdustry.claj.server.util.JsonSettings
 
computedTag - Variable in class com.xpdustry.claj.server.plugin.PluginLogger
 
CON_BROADCAST - Static variable in class com.xpdustry.claj.server.ClajRoom
Id meaning that that the connection is invalid, and used to broadcast packets to all clients.
ConfigurationChangedEvent(ClajRoom) - Constructor for class com.xpdustry.claj.server.ClajEvents.ConfigurationChangedEvent
 
connected(Connection) - Method in class com.xpdustry.claj.server.ClajRoom
Alerts the host that a new client is coming
connected(ClajConnection) - Method in class com.xpdustry.claj.server.ClajRoom
Alerts the host of the client arrival.
connection - Variable in class com.xpdustry.claj.server.ClajConnection
 
connection - Variable in class com.xpdustry.claj.server.ClajEvents.ActionDeniedEvent
 
connection - Variable in class com.xpdustry.claj.server.ClajEvents.ClientConnectedEvent
 
connection - Variable in class com.xpdustry.claj.server.ClajEvents.ClientDisonnectedEvent
 
connection - Variable in class com.xpdustry.claj.server.ClajEvents.ClientKickedEvent
 
connection - Variable in class com.xpdustry.claj.server.ClajEvents.ConnectionJoinedEvent
 
connection - Variable in class com.xpdustry.claj.server.ClajEvents.ConnectionJoinRejectedEvent
 
connection - Variable in class com.xpdustry.claj.server.ClajEvents.ConnectionLeftEvent
 
connection - Variable in class com.xpdustry.claj.server.ClajEvents.ConnectionPreJoinEvent
 
connection - Variable in class com.xpdustry.claj.server.ClajEvents.RoomCreationRejectedEvent
the connection that tried to create the room
connection - Variable in class com.xpdustry.claj.server.ClajEvents.RoomInfoRejectedEvent
 
connection - Variable in class com.xpdustry.claj.server.ClajEvents.RoomListRejectedEvent
 
connection - Variable in class com.xpdustry.claj.server.util.NetListenerEvent
 
ConnectionJoinedEvent(ClajConnection, ClajRoom) - Constructor for class com.xpdustry.claj.server.ClajEvents.ConnectionJoinedEvent
 
ConnectionJoinRejectedEvent(ClajConnection, ClajRoom, RejectReason) - Constructor for class com.xpdustry.claj.server.ClajEvents.ConnectionJoinRejectedEvent
 
ConnectionLeftEvent(ClajConnection, ClajRoom) - Constructor for class com.xpdustry.claj.server.ClajEvents.ConnectionLeftEvent
 
ConnectionPreJoinEvent(ClajConnection, ClajRoom) - Constructor for class com.xpdustry.claj.server.ClajEvents.ConnectionPreJoinEvent
 
connections - Variable in class com.xpdustry.claj.server.ClajRelay
List of valid connections.
connections - Variable in class com.xpdustry.claj.server.ClajRoutines.AddressRater
 
connections - Variable in class com.xpdustry.claj.server.ClajStateSummary
 
consumer - Variable in class com.xpdustry.claj.server.util.TaskQueue
 
contains(Connection) - Method in class com.xpdustry.claj.server.ClajRoom
 
contains(ClajConnection) - Method in class com.xpdustry.claj.server.ClajRoom
 
contains(T) - Method in class com.xpdustry.claj.server.ClajConfig.SetField
 
containsClient(Connection) - Method in class com.xpdustry.claj.server.ClajRoom
 
containsClient(ClajConnection) - Method in class com.xpdustry.claj.server.ClajRoom
 
contextRun(Plugins.LoadedPlugin, Runnable) - Method in class com.xpdustry.claj.server.plugin.Plugins
 
control - Static variable in class com.xpdustry.claj.server.ClajVars
 
create() - Method in class com.xpdustry.claj.server.ClajRoom
Link this room to the host and notify it's id.
created - Variable in class com.xpdustry.claj.server.ClajRoom
 
createdAt - Variable in class com.xpdustry.claj.server.ClajRoom
Creation date of the room.
createRate - Variable in class com.xpdustry.claj.server.ClajRoutines.AddressRater
 
createRoom(ClajConnection, ClajType) - Method in class com.xpdustry.claj.server.ClajRelay
Creates a room with it's associated caches.
currentRoom() - Method in class com.xpdustry.claj.server.ClajConnection
The room where the connection is right now.

D

debug - Static variable in class com.xpdustry.claj.server.ClajConfig
 
debug(Object) - Method in class com.xpdustry.claj.server.plugin.PluginLogger
 
debug(String, Object...) - Method in class com.xpdustry.claj.server.plugin.PluginLogger
 
decode(String) - Method in class com.xpdustry.claj.server.ClajConfig.Field
Tries to decode the value from a String by parsing and decoding as Json.
decodeClaj - Variable in class com.xpdustry.claj.server.ClajServerSerializer
 
decodeValue(String) - Method in class com.xpdustry.claj.server.ClajConfig.Field
 
decodeValue(String) - Method in class com.xpdustry.claj.server.ClajConfig.SetField
 
defaultMaker - Variable in class com.xpdustry.claj.server.ClajConfig.SetField
 
defaults - Variable in class com.xpdustry.claj.server.util.JsonSettings
 
defaults(Object...) - Method in class com.xpdustry.claj.server.util.JsonSettings
Set up a list of defaults values.
defaultValue - Variable in class com.xpdustry.claj.server.ClajConfig.Field
 
denyAction(ClajConnection, ClajRoom, MessageType) - Method in class com.xpdustry.claj.server.ClajRelay
 
dependencies - Variable in class com.xpdustry.claj.server.plugin.Plugins.LoadedPlugin
This plugin dependencies as already-loaded plugins.
dependencies - Variable in class com.xpdustry.claj.server.plugin.Plugins.PluginMeta
 
dependencies - Variable in class com.xpdustry.claj.server.plugin.Plugins.PluginResolutionContext
 
desc - Variable in class com.xpdustry.claj.server.ClajConfig.Field
 
description - Variable in class com.xpdustry.claj.server.plugin.Plugins.PluginMeta
 
detectCallingPlugin() - Method in class com.xpdustry.claj.server.plugin.Plugins
Inspect the current thread stack to find which plugin (based on its ClassLoader) is calling the method.
directory - Variable in class com.xpdustry.claj.server.plugin.Plugins
 
disabled - Enum constant in enum class com.xpdustry.claj.server.plugin.Plugins.PluginState
 
disconnectAllClients(DcReason, boolean) - Method in class com.xpdustry.claj.server.ClajRoom
Close all connections of the room.
disconnected(Connection, DcReason) - Method in class com.xpdustry.claj.server.ClajRoom
Alerts the host that a client disconnected.
disconnected(ClajConnection, DcReason) - Method in class com.xpdustry.claj.server.ClajRoom
Alerts the host that a client disconnected.
disconnectedQuietly(Connection, DcReason) - Method in class com.xpdustry.claj.server.ClajRoom
Doesn't notify the room host about a disconnected client.
disconnectedQuietly(ClajConnection, DcReason) - Method in class com.xpdustry.claj.server.ClajRoom
Doesn't notify the room host about a disconnected client, but this does close it.
displayName - Variable in class com.xpdustry.claj.server.plugin.Plugins.PluginMeta
 
dispose() - Method in class com.xpdustry.claj.server.ClajControl
 
dispose() - Method in class com.xpdustry.claj.server.ClajRelay
At this point it's too late to notify closure.
dispose() - Method in interface com.xpdustry.claj.server.plugin.Plugin
Dispose any resources created by the plugin.
dispose() - Method in class com.xpdustry.claj.server.plugin.Plugins
 
dowloadLock - Variable in class com.xpdustry.claj.server.util.NetworkSpeed
 
downloadAccum - Variable in class com.xpdustry.claj.server.util.NetworkSpeed
 
downloadMark() - Method in class com.xpdustry.claj.server.util.NetworkSpeed
 
downloadMark(int) - Method in class com.xpdustry.claj.server.util.NetworkSpeed
 
downloadSpeed - Variable in class com.xpdustry.claj.server.ClajStateSummary
This ignores Ethernet/IP/TCP/ArcNet headers.
downloadSpeed - Variable in class com.xpdustry.claj.server.util.NetworkSpeed
 
downloadSpeed() - Method in class com.xpdustry.claj.server.util.NetworkSpeed
Number of things per second.
downloadTransfert - Variable in class com.xpdustry.claj.server.ClajStateSummary
 
draining - Variable in class com.xpdustry.claj.server.util.TaskQueue
 
dualThread - Static variable in class com.xpdustry.claj.server.ClajConfig
 

E

eachClass(Cons) - Method in class com.xpdustry.claj.server.plugin.Plugins
Iterates through each plugin with a main class.
eachEnabled(Cons) - Method in class com.xpdustry.claj.server.plugin.Plugins
Iterates through each enabled plugin.
elementType - Variable in class com.xpdustry.claj.server.ClajConfig.SetField
 
empty - Static variable in class com.xpdustry.claj.server.plugin.PluginLogger
 
enabled - Enum constant in enum class com.xpdustry.claj.server.plugin.Plugins.PluginState
 
enabled() - Method in class com.xpdustry.claj.server.plugin.Plugins.LoadedPlugin
 
equals(Object) - Method in class com.xpdustry.claj.server.ClajRoom
Only uses ClajRoom.id as identity.
err(String) - Method in class com.xpdustry.claj.server.plugin.PluginLogger
 
err(String, Object...) - Method in class com.xpdustry.claj.server.plugin.PluginLogger
 
err(String, Throwable) - Method in class com.xpdustry.claj.server.plugin.PluginLogger
 
err(String, Throwable, Object...) - Method in class com.xpdustry.claj.server.plugin.PluginLogger
 
err(Throwable) - Method in class com.xpdustry.claj.server.plugin.PluginLogger
 
errorHandler - Static variable in class com.xpdustry.claj.server.util.Autosaver
Called when a save fail.
errorHandler - Variable in class com.xpdustry.claj.server.util.JsonSettings
 
exceptionHandler - Variable in class com.xpdustry.claj.server.ServerApplication
 
exists() - Method in class com.xpdustry.claj.server.util.JsonSettings
 
exit() - Method in class com.xpdustry.claj.server.ServerApplication
 

F

FAST_THREAD_LOCAL - Static variable in class com.xpdustry.claj.server.ClajServerSerializer
As there is only one serializer for CLaJ servers, the fast path can be used.
Field(String, String, T) - Constructor for class com.xpdustry.claj.server.ClajConfig.Field
 
Field(String, String, T, boolean) - Constructor for class com.xpdustry.claj.server.ClajConfig.Field
 
Field(String, String, T, Cons) - Constructor for class com.xpdustry.claj.server.ClajConfig.Field
 
Field(String, String, T, Cons, boolean) - Constructor for class com.xpdustry.claj.server.ClajConfig.Field
 
file - Variable in class com.xpdustry.claj.server.plugin.Plugins.LoadedPlugin
The location of this plugin's zip file/folder on the disk.
file - Variable in class com.xpdustry.claj.server.util.JsonSettings
 
file() - Method in class com.xpdustry.claj.server.util.JsonSettings
 
fileName - Static variable in class com.xpdustry.claj.server.ClajConfig
 
findClass(String) - Method in class com.xpdustry.claj.server.plugin.PluginClassLoader
 
findMeta(Fi) - Method in class com.xpdustry.claj.server.plugin.Plugins
Tries to find the config file of a plugin.
forceSave() - Static method in class com.xpdustry.claj.server.util.Autosaver
Save all registered things now, even not modified.
forceSave() - Method in interface com.xpdustry.claj.server.util.Autosaver.Saveable
 
forceSave() - Method in class com.xpdustry.claj.server.util.JsonSettings
 

G

get() - Method in class com.xpdustry.claj.server.ClajConfig.Field
 
get(int, Connection, DcReason, ByteBuffer, Object, NetListener, NetSerializer) - Static method in class com.xpdustry.claj.server.util.NetListenerEvent
 
get(String) - Static method in class com.xpdustry.claj.server.ClajConfig
Case is ignored.
get(String, Class) - Method in class com.xpdustry.claj.server.util.JsonSettings
 
get(String, Class, Prov) - Method in class com.xpdustry.claj.server.util.JsonSettings
 
get(String, Class, Class, Prov) - Method in class com.xpdustry.claj.server.util.JsonSettings
 
get(String, Class, Class, Class) - Method in class com.xpdustry.claj.server.util.JsonSettings
 
get(String, Class, Class, Class, Prov) - Method in class com.xpdustry.claj.server.util.JsonSettings
 
getAddressRate(ClajConnection) - Method in class com.xpdustry.claj.server.ClajRoutines
 
getBool(String) - Method in class com.xpdustry.claj.server.util.JsonSettings
 
getBool(String, boolean) - Method in class com.xpdustry.claj.server.util.JsonSettings
 
getBoolOnce(String) - Method in class com.xpdustry.claj.server.util.JsonSettings
Returns false once, and never again.
getBoolOnce(String, Runnable) - Method in class com.xpdustry.claj.server.util.JsonSettings
Runs the specified code once, and never again.
getClipboardText() - Method in class com.xpdustry.claj.server.ServerApplication
 
getConfig() - Method in interface com.xpdustry.claj.server.plugin.Plugin
 
getConfig() - Method in class com.xpdustry.claj.server.plugin.Plugins
Same as Plugins.getConfig(Class) but tries to detect the plugin by the class calling this method.
getConfig(Plugin) - Method in class com.xpdustry.claj.server.plugin.Plugins
 
getConfig(Class) - Method in class com.xpdustry.claj.server.plugin.Plugins
 
getConfigFolder() - Method in interface com.xpdustry.claj.server.plugin.Plugin
 
getConfigFolder() - Method in class com.xpdustry.claj.server.plugin.Plugins
Same as Plugins.getConfigFolder(Class) but tries to detect the plugin by the class calling this method.
getConfigFolder(Plugin) - Method in class com.xpdustry.claj.server.plugin.Plugins
 
getConfigFolder(Class) - Method in class com.xpdustry.claj.server.plugin.Plugins
 
getDefault() - Method in class com.xpdustry.claj.server.ClajConfig.Field
 
getDefault() - Method in class com.xpdustry.claj.server.ClajConfig.SetField
 
getDefault(String) - Method in class com.xpdustry.claj.server.util.JsonSettings
 
getDouble(String) - Method in class com.xpdustry.claj.server.util.JsonSettings
 
getDouble(String, double) - Method in class com.xpdustry.claj.server.util.JsonSettings
 
getFloat(String) - Method in class com.xpdustry.claj.server.util.JsonSettings
 
getFloat(String, float) - Method in class com.xpdustry.claj.server.util.JsonSettings
 
getFramesPerSecond() - Method in class com.xpdustry.claj.server.ClajRelay
 
getIncompatibility(Seq) - Method in class com.xpdustry.claj.server.plugin.Plugins
 
getInt(String) - Method in class com.xpdustry.claj.server.util.JsonSettings
 
getInt(String, int) - Method in class com.xpdustry.claj.server.util.JsonSettings
 
getJson() - Method in class com.xpdustry.claj.server.util.JsonSettings
 
getJson() - Method in class com.xpdustry.claj.server.util.JsonWriterBuilder
 
getListCache(ClajType, LongMap) - Method in class com.xpdustry.claj.server.ClajRoutines
 
getListeners() - Method in class com.xpdustry.claj.server.ServerApplication
 
getLogger() - Method in interface com.xpdustry.claj.server.plugin.Plugin
 
getLogger() - Method in class com.xpdustry.claj.server.plugin.Plugins
Same as Plugins.getLogger(Plugin) but tries to detect the plugin by the class calling this method.
getLogger(Plugin) - Method in class com.xpdustry.claj.server.plugin.Plugins
 
getLogger(Plugin, Class) - Method in class com.xpdustry.claj.server.plugin.Plugins
 
getLogger(Plugin, String) - Method in class com.xpdustry.claj.server.plugin.Plugins
 
getLogger(Class) - Method in interface com.xpdustry.claj.server.plugin.Plugin
 
getLogger(Class) - Method in class com.xpdustry.claj.server.plugin.Plugins
Same as Plugins.getLogger(Plugin, Class) but tries to detect the plugin by the class calling this method.
getLogger(Class, Class) - Method in class com.xpdustry.claj.server.plugin.Plugins
 
getLogger(Class, String) - Method in class com.xpdustry.claj.server.plugin.Plugins
 
getLogger(Class, Void) - Method in class com.xpdustry.claj.server.plugin.Plugins
 
getLogger(String) - Method in interface com.xpdustry.claj.server.plugin.Plugin
 
getLogger(String) - Method in class com.xpdustry.claj.server.plugin.Plugins
Same as Plugins.getLogger(Plugin, String) but tries to detect the plugin by the class calling this method.
getLong(String) - Method in class com.xpdustry.claj.server.util.JsonSettings
 
getLong(String, long) - Method in class com.xpdustry.claj.server.util.JsonSettings
 
getMainThread() - Method in class com.xpdustry.claj.server.ServerApplication
 
getMeta() - Method in interface com.xpdustry.claj.server.plugin.Plugin
 
getMeta() - Method in class com.xpdustry.claj.server.plugin.Plugins
Same as Plugins.getMeta(Class) but tries to detect the plugin by the class calling this method.
getMeta(Plugin) - Method in class com.xpdustry.claj.server.plugin.Plugins
 
getMeta(Class) - Method in class com.xpdustry.claj.server.plugin.Plugins
 
getMinMajor() - Method in class com.xpdustry.claj.server.plugin.Plugins.LoadedPlugin
 
getMinMajor() - Method in class com.xpdustry.claj.server.plugin.Plugins.PluginMeta
 
getOrPut(String, Class, Prov) - Method in class com.xpdustry.claj.server.util.JsonSettings
 
getOrPut(String, Class, Class, Prov) - Method in class com.xpdustry.claj.server.util.JsonSettings
 
getOrPut(String, Class, Class, Class, Prov) - Method in class com.xpdustry.claj.server.util.JsonSettings
Put and return def if the name key is not found
getOrPut(String, Class, T) - Method in class com.xpdustry.claj.server.util.JsonSettings
Put and return def if the name key is not found
getPendingRoomRequests(ClajRoom) - Method in class com.xpdustry.claj.server.ClajRoutines
 
getPendingRoomRequestsForSend(ClajRoom) - Method in class com.xpdustry.claj.server.ClajRoutines
 
getPlugin(Class) - Method in class com.xpdustry.claj.server.plugin.Plugins
 
getPlugin(String) - Method in class com.xpdustry.claj.server.plugin.Plugins
 
getPluginLogger() - Static method in interface com.xpdustry.claj.server.plugin.Plugin
The plugin is automatically determined using the caller class.
getPluginLogger(Class) - Static method in interface com.xpdustry.claj.server.plugin.Plugin
The plugin is automatically determined using the caller class.
getPluginLogger(String) - Static method in interface com.xpdustry.claj.server.plugin.Plugin
The plugin is automatically determined using the caller class.
getPluginStrings() - Method in class com.xpdustry.claj.server.plugin.Plugins
 
getReason(String) - Method in class com.xpdustry.claj.server.ClajControl
 
getRoom(long) - Method in class com.xpdustry.claj.server.ClajRelay
 
getRoom(String) - Method in class com.xpdustry.claj.server.ClajControl
 
getRoom(String) - Method in class com.xpdustry.claj.server.ClajRelay
Try to find a room using the base64 encoded id.
getString(String) - Method in class com.xpdustry.claj.server.util.JsonSettings
 
getString(String, String) - Method in class com.xpdustry.claj.server.util.JsonSettings
 
getType() - Method in class com.xpdustry.claj.server.ServerApplication
 
getType(String) - Method in class com.xpdustry.claj.server.ClajControl
 
graphics - Variable in class com.xpdustry.claj.server.ServerApplication
 

H

handleCommand(String) - Method in class com.xpdustry.claj.server.ClajControl
 
handleQueue() - Method in class com.xpdustry.claj.server.ClajConnection
 
has(Autosaver.Saveable) - Static method in class com.xpdustry.claj.server.util.Autosaver
 
has(Autosaver.Saveable, Autosaver.SavePriority) - Static method in class com.xpdustry.claj.server.util.Autosaver
 
has(String) - Method in class com.xpdustry.claj.server.util.JsonSettings
 
hashCode() - Method in class com.xpdustry.claj.server.ClajRoom
Only hashes ClajRoom.id.
hasQueue() - Method in class com.xpdustry.claj.server.ClajConnection
 
hasUnmetDependencies() - Method in class com.xpdustry.claj.server.plugin.Plugins.LoadedPlugin
 
high - Enum constant in enum class com.xpdustry.claj.server.util.Autosaver.SavePriority
Highest save priority.
host - Variable in class com.xpdustry.claj.server.ClajRoom
The host connection of this room.
host() - Method in class com.xpdustry.claj.server.ClajRelay
 
host(int) - Method in class com.xpdustry.claj.server.ClajRelay
 
HostKickedEvent(ClajRoom) - Constructor for class com.xpdustry.claj.server.ClajEvents.HostKickedEvent
 
hostSpamLimit - Static variable in class com.xpdustry.claj.server.ClajConfig
 

I

id - Variable in class com.xpdustry.claj.server.ClajConnection
 
id - Variable in class com.xpdustry.claj.server.ClajRoom
The room id.
idle(Connection) - Method in class com.xpdustry.claj.server.ClajRoom
Notifies the host of an idle connection.
idle(ClajConnection) - Method in class com.xpdustry.claj.server.ClajRoom
Notifies the host of an idle connection.
incompleteDependencies - Enum constant in enum class com.xpdustry.claj.server.plugin.Plugins.PluginState
 
index - Variable in class com.xpdustry.claj.server.util.TaskQueue
 
info(Object) - Method in class com.xpdustry.claj.server.plugin.PluginLogger
 
info(String, Object...) - Method in class com.xpdustry.claj.server.ClajRelay
 
info(String, Object...) - Method in class com.xpdustry.claj.server.plugin.PluginLogger
 
infoLimit - Static variable in class com.xpdustry.claj.server.ClajConfig
 
infoRate - Variable in class com.xpdustry.claj.server.ClajRoutines.AddressRater
 
infoRequestLimit - Static variable in class com.xpdustry.claj.server.ClajConfig
 
init() - Static method in class com.xpdustry.claj.server.ClajConfig
 
init() - Method in class com.xpdustry.claj.server.ClajControl
Start a new daemon thread listening System.in for commands.
init() - Method in class com.xpdustry.claj.server.ClajRelay
 
init() - Method in class com.xpdustry.claj.server.Main
 
init() - Method in interface com.xpdustry.claj.server.plugin.Plugin
Called after all plugins have been created and commands have been registered.
init() - Method in class com.xpdustry.claj.server.plugin.Plugins
 
init(Application) - Static method in class com.xpdustry.claj.server.util.Autosaver
Init the auto saver to run a save every seconds.
initLogger() - Static method in class com.xpdustry.claj.server.ClajVars
 
invalid - Variable in class com.xpdustry.claj.server.plugin.Plugins.PluginResolutionContext
 
isAutosaved() - Method in class com.xpdustry.claj.server.util.JsonSettings
 
isBackuped() - Method in class com.xpdustry.claj.server.util.JsonSettings
 
isClosed() - Method in class com.xpdustry.claj.server.ClajRelay
 
isClosed() - Method in class com.xpdustry.claj.server.ClajRoom
 
isCompressed() - Method in class com.xpdustry.claj.server.util.JsonSettings
 
isConnected() - Method in class com.xpdustry.claj.server.ClajConnection
 
isCreataed() - Method in class com.xpdustry.claj.server.ClajRoom
 
isDefault() - Method in class com.xpdustry.claj.server.ClajConfig.Field
 
isEmpty() - Method in class com.xpdustry.claj.server.ClajRoom
 
isHost(Connection) - Method in class com.xpdustry.claj.server.ClajRoom
 
isHost(ClajConnection) - Method in class com.xpdustry.claj.server.ClajRoom
 
isHosted() - Method in class com.xpdustry.claj.server.ClajRelay
 
isKnownType(Class) - Method in class com.xpdustry.claj.server.util.JsonSettings
 
isLoading - Static variable in class com.xpdustry.claj.server.Main
 
isOutdated() - Method in class com.xpdustry.claj.server.ClajRoutines.CachedRoomList
 
isPlainJson() - Method in class com.xpdustry.claj.server.util.JsonSettings
 
isProtected - Variable in class com.xpdustry.claj.server.ClajRoom
Whether the room needs a password or not to join it.
isPublic - Variable in class com.xpdustry.claj.server.ClajRoom
Whether the room will be added is public list or not.
isRoomHost() - Method in class com.xpdustry.claj.server.ClajConnection
 
isStateOutdated() - Method in class com.xpdustry.claj.server.ClajRoom
 
isStateOutdated(long) - Method in class com.xpdustry.claj.server.ClajRoom
 
isStateRequestTimedOut() - Method in class com.xpdustry.claj.server.ClajRoom
 
isStateRequestTimedOut(long) - Method in class com.xpdustry.claj.server.ClajRoom
 

J

JarLoader - Class in com.xpdustry.claj.server.util
 
JarLoader(Fi, ClassLoader) - Constructor for class com.xpdustry.claj.server.util.JarLoader
 
javaCpuLoad - Variable in class com.xpdustry.claj.server.ClajStateSummary
in %.
javaVersion - Variable in class com.xpdustry.claj.server.ClajStateSummary
 
joinLimit - Static variable in class com.xpdustry.claj.server.ClajConfig
 
joinRate - Variable in class com.xpdustry.claj.server.ClajRoutines.AddressRater
 
json - Variable in class com.xpdustry.claj.server.plugin.Plugins
 
json - Variable in class com.xpdustry.claj.server.util.JsonSettings
 
JsonSettings - Class in com.xpdustry.claj.server.util
Simple re-implementation of Settings adding choice to store as plain or binary json.
JsonSettings(Fi) - Constructor for class com.xpdustry.claj.server.util.JsonSettings
 
JsonSettings(Fi, boolean) - Constructor for class com.xpdustry.claj.server.util.JsonSettings
 
JsonSettings(Fi, boolean, boolean) - Constructor for class com.xpdustry.claj.server.util.JsonSettings
Prefer compression when using binary json.
JsonSettings(Fi, boolean, boolean, boolean) - Constructor for class com.xpdustry.claj.server.util.JsonSettings
Prefer compression when using binary json.
JsonSettings(Fi, boolean, boolean, boolean, boolean) - Constructor for class com.xpdustry.claj.server.util.JsonSettings
 
JsonSettings(Fi, Fi) - Constructor for class com.xpdustry.claj.server.util.JsonSettings
Enables backups implicitly.
JsonSettings(Fi, Fi, boolean) - Constructor for class com.xpdustry.claj.server.util.JsonSettings
Enables backups implicitly.
JsonSettings(Fi, Fi, boolean, boolean) - Constructor for class com.xpdustry.claj.server.util.JsonSettings
Enables backups implicitly.
JsonSettings(Fi, Fi, boolean, boolean, boolean, boolean) - Constructor for class com.xpdustry.claj.server.util.JsonSettings
Container to store settings as json
JsonWriterBuilder - Class in com.xpdustry.claj.server.util
Build a JsonValue object
JsonWriterBuilder() - Constructor for class com.xpdustry.claj.server.util.JsonWriterBuilder
 

K

key - Variable in class com.xpdustry.claj.server.ClajConfig.Field
 
keys() - Method in class com.xpdustry.claj.server.util.JsonSettings
 

L

lastDownload - Variable in class com.xpdustry.claj.server.util.NetworkSpeed
 
lastReceivedState - Variable in class com.xpdustry.claj.server.ClajRoom
Time of the last received room state.
lastRequestedState - Variable in class com.xpdustry.claj.server.ClajRoom
Time of the last requested room state.
lastUpdate - Variable in class com.xpdustry.claj.server.ClajRoutines.CachedRoomList
 
lastUpload - Variable in class com.xpdustry.claj.server.util.NetworkSpeed
 
list() - Method in class com.xpdustry.claj.server.plugin.Plugins
 
listCache - Variable in class com.xpdustry.claj.server.ClajRoutines
Cache for room list requests.
listener - Variable in class com.xpdustry.claj.server.util.NetListenerEvent
 
listeners - Variable in class com.xpdustry.claj.server.ServerApplication
 
listFiles(String, Cons2) - Method in class com.xpdustry.claj.server.plugin.Plugins
Returns a list of files per plugin subdirectory.
listLifetime - Static variable in class com.xpdustry.claj.server.ClajConfig
 
listLimit - Static variable in class com.xpdustry.claj.server.ClajConfig
 
listRate - Variable in class com.xpdustry.claj.server.ClajRoutines.AddressRater
 
listRequestLimit - Static variable in class com.xpdustry.claj.server.ClajConfig
 
listTimeout - Static variable in class com.xpdustry.claj.server.ClajConfig
 
ln() - Method in class com.xpdustry.claj.server.plugin.PluginLogger
Log an empty "info" line.
load() - Method in class com.xpdustry.claj.server.ClajConfig.Field
 
load() - Static method in class com.xpdustry.claj.server.ClajConfig
 
load() - Method in class com.xpdustry.claj.server.plugin.Plugins
Loads all plugins from the folder, but does not call any methods on them.
load() - Method in class com.xpdustry.claj.server.util.JsonSettings
Loads all values.
load(Fi) - Static method in class com.xpdustry.claj.server.util.JarLoader
 
load(Fi, ClassLoader) - Static method in class com.xpdustry.claj.server.util.JarLoader
 
loadClass(String, boolean) - Method in class com.xpdustry.claj.server.util.JarLoader
 
loaded - Variable in class com.xpdustry.claj.server.ClajConfig.Field
 
loaded - Variable in class com.xpdustry.claj.server.util.JsonSettings
 
loaded() - Method in class com.xpdustry.claj.server.util.JsonSettings
 
LoadedPlugin(Fi, Fi, Plugin, ClassLoader, Plugins.PluginMeta) - Constructor for class com.xpdustry.claj.server.plugin.Plugins.LoadedPlugin
 
loadEnv(String[]) - Static method in class com.xpdustry.claj.server.Main
 
loader - Variable in class com.xpdustry.claj.server.plugin.Plugins.LoadedPlugin
Class loader for JAR plugins.
loadValue() - Method in class com.xpdustry.claj.server.ClajConfig.Field
 
loadValue() - Method in class com.xpdustry.claj.server.ClajConfig.SetField
 
loadValues(Fi) - Method in class com.xpdustry.claj.server.util.JsonSettings
 
locatePlugin(String) - Method in class com.xpdustry.claj.server.plugin.Plugins
 
log(Log.LogLevel, String) - Method in class com.xpdustry.claj.server.plugin.PluginLogger
 
log(Log.LogLevel, String, Object...) - Method in class com.xpdustry.claj.server.plugin.PluginLogger
 
log(Log.LogLevel, String, Throwable, Object...) - Method in class com.xpdustry.claj.server.plugin.PluginLogger
 
logDateformat - Static variable in class com.xpdustry.claj.server.ClajVars
 
logFormat - Static variable in class com.xpdustry.claj.server.ClajVars
 
logImpl(Log.LogLevel, String, Throwable, Object...) - Method in class com.xpdustry.claj.server.plugin.PluginLogger
 
low - Enum constant in enum class com.xpdustry.claj.server.util.Autosaver.SavePriority
Lowest save priority, for things that should be saved last.

M

main - Variable in class com.xpdustry.claj.server.plugin.Plugins.LoadedPlugin
The plugin's main class.
main - Variable in class com.xpdustry.claj.server.plugin.Plugins.PluginMeta
Plugin's main class.
main(String[]) - Static method in class com.xpdustry.claj.server.Main
 
Main - Class in com.xpdustry.claj.server
 
Main() - Constructor for class com.xpdustry.claj.server.Main
 
mainLoader - Variable in class com.xpdustry.claj.server.plugin.Plugins
 
mainLoopThread - Variable in class com.xpdustry.claj.server.ServerApplication
 
mainTps - Variable in class com.xpdustry.claj.server.ClajStateSummary
 
majorVersion - Variable in class com.xpdustry.claj.server.ClajStateSummary
 
maxClients - Variable in class com.xpdustry.claj.server.ClajRoom
Maximum number of CLaJ client allowed in this room.
maxConnections - Static variable in class com.xpdustry.claj.server.ClajConfig
 
maxHeap - Variable in class com.xpdustry.claj.server.ClajStateSummary
 
maxMeta - Variable in class com.xpdustry.claj.server.ClajStateSummary
 
maxRooms - Static variable in class com.xpdustry.claj.server.ClajConfig
 
message(MessageType) - Method in class com.xpdustry.claj.server.ClajRoom
Sends a message the host and clients.
message(String) - Method in class com.xpdustry.claj.server.ClajRoom
Sends a message to the host and clients.
meta - Variable in class com.xpdustry.claj.server.plugin.Plugins.LoadedPlugin
This plugin's metadata.
minClajVersion - Variable in class com.xpdustry.claj.server.plugin.Plugins.PluginMeta
Minimum CLaJ version that this mod requires, e.g.
missingDependencies - Enum constant in enum class com.xpdustry.claj.server.plugin.Plugins.PluginState
 
missingDependencies - Variable in class com.xpdustry.claj.server.plugin.Plugins.LoadedPlugin
All missing required dependencies of this plugin as strings.
missingSoftDependencies - Variable in class com.xpdustry.claj.server.plugin.Plugins.LoadedPlugin
All missing soft dependencies of this plugin as strings.
modified - Variable in class com.xpdustry.claj.server.ClajConfig.Field
 
modified - Variable in class com.xpdustry.claj.server.util.JsonSettings
 
modified() - Method in class com.xpdustry.claj.server.ClajConfig.Field
 
modified() - Method in interface com.xpdustry.claj.server.util.Autosaver.Saveable
 
modified() - Method in class com.xpdustry.claj.server.util.JsonSettings
 

N

name - Variable in class com.xpdustry.claj.server.plugin.Plugins.LoadedPlugin
Internal plugin name.
name - Variable in class com.xpdustry.claj.server.plugin.Plugins.PluginDependency
 
name - Variable in class com.xpdustry.claj.server.plugin.Plugins.PluginMeta
Name as defined in plugin.json.
name() - Method in class com.xpdustry.claj.server.ClajConfig.Field
 
name() - Method in interface com.xpdustry.claj.server.util.Autosaver.Saveable
Used for logging.
name() - Method in class com.xpdustry.claj.server.util.JsonSettings
 
name(String) - Method in class com.xpdustry.claj.server.util.JsonWriterBuilder
 
needStateRequest(long) - Method in class com.xpdustry.claj.server.ClajRoom
 
NetListenerEvent - Class in com.xpdustry.claj.server.util
Poolable class to delay packet decoding and event running to another thread.
NetListenerEvent() - Constructor for class com.xpdustry.claj.server.util.NetListenerEvent
 
netTps - Variable in class com.xpdustry.claj.server.ClajStateSummary
 
networkSpeed - Variable in class com.xpdustry.claj.server.ClajRelay
Read/Write speed.
networkSpeed - Variable in class com.xpdustry.claj.server.ClajServerSerializer
 
NetworkSpeed - Class in com.xpdustry.claj.server.util
Calculate speed of an arbitrary thing, per seconds.
NetworkSpeed() - Constructor for class com.xpdustry.claj.server.util.NetworkSpeed
 
newOptimizedSelector() - Static method in class com.xpdustry.claj.server.util.NioUtils
 
newRoom(ClajConnection, ClajType) - Method in class com.xpdustry.claj.server.ClajRelay
 
newRoomId() - Method in class com.xpdustry.claj.server.ClajRelay
 
newSelector() - Static method in class com.xpdustry.claj.server.util.NioUtils
 
NioUtils - Class in com.xpdustry.claj.server.util
 
NioUtils() - Constructor for class com.xpdustry.claj.server.util.NioUtils
 
normal - Enum constant in enum class com.xpdustry.claj.server.util.Autosaver.SavePriority
Default save priority.
notifyChange() - Method in class com.xpdustry.claj.server.ClajConfig.Field
 
notifyStop(Runnable) - Method in class com.xpdustry.claj.server.ClajRelay
Will notify stopping and wait a little before running callback.
noTopic - Variable in class com.xpdustry.claj.server.plugin.PluginLogger
If true, plugin and class topics will not be displayed.
now() - Static method in class com.xpdustry.claj.server.ClajStateSummary
 

O

object - Variable in class com.xpdustry.claj.server.util.NetListenerEvent
 
object() - Method in class com.xpdustry.claj.server.util.JsonWriterBuilder
 
object(String) - Method in class com.xpdustry.claj.server.util.JsonWriterBuilder
 
ofConnected(Connection, NetListener) - Static method in class com.xpdustry.claj.server.util.NetListenerEvent
 
ofDisconnected(Connection, NetListener, DcReason) - Static method in class com.xpdustry.claj.server.util.NetListenerEvent
 
ofIdle(Connection, NetListener) - Static method in class com.xpdustry.claj.server.util.NetListenerEvent
 
ofReceived(Connection, NetListener, Object) - Static method in class com.xpdustry.claj.server.util.NetListenerEvent
 
ofReceived(Connection, NetListener, ByteBuffer, NetSerializer) - Static method in class com.xpdustry.claj.server.util.NetListenerEvent
 
onConClose(ClajConnection, int, DcReason) - Method in class com.xpdustry.claj.server.ClajRelay
Will not notify the host about closing.
onConnect(ClajConnection) - Method in class com.xpdustry.claj.server.ClajRelay
 
onConPacket(ClajConnection, RawPacket) - Method in class com.xpdustry.claj.server.ClajRelay
 
onDisconnect(ClajConnection, DcReason) - Method in class com.xpdustry.claj.server.ClajRelay
 
onHostPacket(ClajConnection, ConnectionPayloadPacket) - Method in class com.xpdustry.claj.server.ClajRelay
 
onIdle(ClajConnection) - Method in class com.xpdustry.claj.server.ClajRelay
 
onInfoRequest(ClajConnection, long) - Method in class com.xpdustry.claj.server.ClajRelay
 
onListRequest(ClajConnection, ClajType) - Method in class com.xpdustry.claj.server.ClajRelay
 
onRoomClose(ClajConnection) - Method in class com.xpdustry.claj.server.ClajRelay
 
onRoomConfig(ClajConnection, boolean, boolean, short, boolean, int) - Method in class com.xpdustry.claj.server.ClajRelay
 
onRoomCreate(ClajConnection, int, ClajType) - Method in class com.xpdustry.claj.server.ClajRelay
 
onRoomJoin(ClajConnection, boolean, long, ClajType, boolean, short) - Method in class com.xpdustry.claj.server.ClajRelay
 
onRoomState(ClajConnection, ByteBuffer) - Method in class com.xpdustry.claj.server.ClajRelay
 
ordered - Variable in class com.xpdustry.claj.server.plugin.Plugins.PluginResolutionContext
 
orderedPlugins() - Method in class com.xpdustry.claj.server.plugin.Plugins
 

P

packet - Variable in class com.xpdustry.claj.server.ClajRoutines.CachedRoomList
 
packetCounter - Variable in class com.xpdustry.claj.server.ClajRelay
Read/Write speed.
packetCounter - Variable in class com.xpdustry.claj.server.ClajServerSerializer
 
packetRate - Variable in class com.xpdustry.claj.server.ClajConnection
 
password - Variable in class com.xpdustry.claj.server.ClajRoom
The room password
pending - Variable in class com.xpdustry.claj.server.ClajRoutines.CachedRoomList
 
pendingInfoRequests - Variable in class com.xpdustry.claj.server.ClajRoutines
List of client who requested the state of a room that was outdated.
pendingInfoTasks - Variable in class com.xpdustry.claj.server.ClajRoutines
Use cleaner task instead of storing the ClajRoutines.pendingInfoRequests invert, to avoid having to many caches.
plainJson - Variable in class com.xpdustry.claj.server.util.JsonSettings
 
plugin - Variable in class com.xpdustry.claj.server.plugin.PluginLogger
 
Plugin - Interface in com.xpdustry.claj.server.plugin
 
PluginClassLoader - Class in com.xpdustry.claj.server.plugin
 
PluginClassLoader(ClassLoader) - Constructor for class com.xpdustry.claj.server.plugin.PluginClassLoader
 
PluginDependency(String, boolean) - Constructor for class com.xpdustry.claj.server.plugin.Plugins.PluginDependency
 
PluginLoadException(String) - Constructor for exception class com.xpdustry.claj.server.plugin.Plugins.PluginLoadException
 
PluginLogger - Class in com.xpdustry.claj.server.plugin
Log messages to console with topics
PluginLogger() - Constructor for class com.xpdustry.claj.server.plugin.PluginLogger
 
PluginLogger(boolean) - Constructor for class com.xpdustry.claj.server.plugin.PluginLogger
 
PluginLogger(Plugin) - Constructor for class com.xpdustry.claj.server.plugin.PluginLogger
 
PluginLogger(Plugin, Class) - Constructor for class com.xpdustry.claj.server.plugin.PluginLogger
 
PluginLogger(Plugin, String) - Constructor for class com.xpdustry.claj.server.plugin.PluginLogger
 
PluginLogger(Class) - Constructor for class com.xpdustry.claj.server.plugin.PluginLogger
 
PluginLogger(Class, Class) - Constructor for class com.xpdustry.claj.server.plugin.PluginLogger
 
PluginLogger(Class, String) - Constructor for class com.xpdustry.claj.server.plugin.PluginLogger
 
PluginLogger(String) - Constructor for class com.xpdustry.claj.server.plugin.PluginLogger
 
PluginLogger(String, Class) - Constructor for class com.xpdustry.claj.server.plugin.PluginLogger
 
PluginLogger(String, String) - Constructor for class com.xpdustry.claj.server.plugin.PluginLogger
 
PluginMeta() - Constructor for class com.xpdustry.claj.server.plugin.Plugins.PluginMeta
 
PluginResolutionContext() - Constructor for class com.xpdustry.claj.server.plugin.Plugins.PluginResolutionContext
 
plugins - Static variable in class com.xpdustry.claj.server.ClajVars
 
Plugins - Class in com.xpdustry.claj.server.plugin
Simplified
invalid reference
mindustry.mod.Mods
that only handles plugins.
Plugins(Fi, CommandHandler) - Constructor for class com.xpdustry.claj.server.plugin.Plugins
 
Plugins.LoadedPlugin - Class in com.xpdustry.claj.server.plugin
Represents a plugin's state.
Plugins.PluginDependency - Class in com.xpdustry.claj.server.plugin
 
Plugins.PluginLoadException - Exception Class in com.xpdustry.claj.server.plugin
 
Plugins.PluginMeta - Class in com.xpdustry.claj.server.plugin
Plugin metadata information.
Plugins.PluginResolutionContext - Class in com.xpdustry.claj.server.plugin
 
Plugins.PluginState - Enum Class in com.xpdustry.claj.server.plugin
 
pluginsDirectory - Static variable in class com.xpdustry.claj.server.ClajVars
 
pluginTopicFormat - Static variable in class com.xpdustry.claj.server.plugin.PluginLogger
 
pool - Static variable in class com.xpdustry.claj.server.util.NetListenerEvent
Having a big pool can help at high load
pop() - Method in class com.xpdustry.claj.server.util.JsonWriterBuilder
 
popup(String) - Method in class com.xpdustry.claj.server.ClajRoom
Sends a popup to the room host.
port - Variable in class com.xpdustry.claj.server.ClajRelay
Port to bind this server.
port - Static variable in class com.xpdustry.claj.server.ClajVars
 
post(Runnable) - Method in class com.xpdustry.claj.server.ServerApplication
 
post(Runnable) - Method in class com.xpdustry.claj.server.util.TaskQueue
 
priorityOf(Autosaver.Saveable) - Static method in class com.xpdustry.claj.server.util.Autosaver
 
producer - Variable in class com.xpdustry.claj.server.util.TaskQueue
 
put(String, Class, Class, Object) - Method in class com.xpdustry.claj.server.util.JsonSettings
 
put(String, Class, Object) - Method in class com.xpdustry.claj.server.util.JsonSettings
 
put(String, Object) - Method in class com.xpdustry.claj.server.util.JsonSettings
 
putAll(ObjectMap) - Method in class com.xpdustry.claj.server.util.JsonSettings
 

R

rateLimited - Variable in class com.xpdustry.claj.server.ClajEvents.RoomInfoRejectedEvent
true if the action was denied because of rate limit.
rateLimited - Variable in class com.xpdustry.claj.server.ClajEvents.RoomListRejectedEvent
 
raterLifetime - Static variable in class com.xpdustry.claj.server.ClajConfig
 
rates - Variable in class com.xpdustry.claj.server.ClajRoutines
List of join, info and list request rates by ip.
raw - Static variable in class com.xpdustry.claj.server.ClajServerSerializer
 
rawState - Variable in class com.xpdustry.claj.server.ClajRoom
State of the room as raw data.
read - Static variable in class com.xpdustry.claj.server.ClajServerSerializer
 
read(ByteBuffer) - Method in class com.xpdustry.claj.server.ClajServerSerializer
 
readClaj(ByteBuffer) - Method in class com.xpdustry.claj.server.ClajServerSerializer
 
reader - Variable in class com.xpdustry.claj.server.util.JsonSettings
 
readRaw(ByteBuffer) - Method in class com.xpdustry.claj.server.ClajServerSerializer
 
readString(ByteBuffer) - Method in class com.xpdustry.claj.server.ClajServerSerializer
Note that an empty string is always returned.
reason - Variable in class com.xpdustry.claj.server.ClajEvents.ActionDeniedEvent
 
reason - Variable in class com.xpdustry.claj.server.ClajEvents.ClientDisonnectedEvent
 
reason - Variable in class com.xpdustry.claj.server.ClajEvents.ConnectionJoinRejectedEvent
 
reason - Variable in class com.xpdustry.claj.server.ClajEvents.RoomCreationRejectedEvent
 
reason - Variable in class com.xpdustry.claj.server.util.NetListenerEvent
 
received(Connection, ConnectionPayloadPacket) - Method in class com.xpdustry.claj.server.ClajRoom
Unwraps the packet and sends it to the corresponding connection.
received(Connection, RawPacket) - Method in class com.xpdustry.claj.server.ClajRoom
We never send claj packets to anyone other than the room host, framework packets are ignored and mindustry packets are saved as raw buffer.
received(Connection, Object) - Method in class com.xpdustry.claj.server.ClajRoom
Wraps and re-sends the packet to the host, if it come from a connection.
received(ClajConnection, ConnectionPayloadPacket) - Method in class com.xpdustry.claj.server.ClajRoom
 
received(ClajConnection, RawPacket) - Method in class com.xpdustry.claj.server.ClajRoom
 
received(ClajConnection, Object) - Method in class com.xpdustry.claj.server.ClajRoom
 
receiver - Variable in class com.xpdustry.claj.server.ClajRelay
Server packet receiver.
refresh(LongMap) - Method in class com.xpdustry.claj.server.ClajRoutines.CachedRoomList
 
refresh(LongMap, Runnable) - Method in class com.xpdustry.claj.server.ClajRoutines.CachedRoomList
 
refreshRoomList(ClajType) - Method in class com.xpdustry.claj.server.ClajRelay
 
refreshRoomList(ClajType, boolean) - Method in class com.xpdustry.claj.server.ClajRelay
 
refreshRoomList(ClajType, boolean, LongMap) - Method in class com.xpdustry.claj.server.ClajRoutines
 
refreshRoomList(ClajType, LongMap) - Method in class com.xpdustry.claj.server.ClajRoutines
 
refreshRoomLists() - Method in class com.xpdustry.claj.server.ClajRelay
 
refreshTask - Variable in class com.xpdustry.claj.server.ClajRoutines.CachedRoomList
 
registerCommands() - Method in class com.xpdustry.claj.server.ClajControl
 
registerCommands(CommandHandler) - Method in interface com.xpdustry.claj.server.plugin.Plugin
Register any commands.
rejectObsoleteClient(ClajConnection) - Method in class com.xpdustry.claj.server.ClajRelay
 
rejectRateLimitedClient(ClajConnection) - Method in class com.xpdustry.claj.server.ClajRelay
 
rejectRateLimitedHost(ClajRoom) - Method in class com.xpdustry.claj.server.ClajRelay
 
rejectRoomCreation(ClajConnection, CloseReason) - Method in class com.xpdustry.claj.server.ClajRelay
 
rejectRoomInfo(ClajConnection, ClajRoom, boolean) - Method in class com.xpdustry.claj.server.ClajRelay
 
rejectRoomJoin(ClajConnection, ClajRoom, long, RejectReason) - Method in class com.xpdustry.claj.server.ClajRelay
 
rejectRoomJoin(ClajConnection, ClajRoom, RejectReason) - Method in class com.xpdustry.claj.server.ClajRelay
 
rejectRoomList(ClajConnection, ClajType, boolean) - Method in class com.xpdustry.claj.server.ClajRelay
 
relay - Static variable in class com.xpdustry.claj.server.ClajVars
 
reload() - Method in class com.xpdustry.claj.server.ClajConfig.Field
 
reload() - Static method in class com.xpdustry.claj.server.ClajConfig
 
remove(long) - Method in class com.xpdustry.claj.server.ClajRoutines.CachedRoomList
 
remove(ClajConnection) - Method in class com.xpdustry.claj.server.ClajRoutines.AddressRater
 
remove(Autosaver.Saveable) - Static method in class com.xpdustry.claj.server.util.Autosaver
 
remove(String) - Method in class com.xpdustry.claj.server.util.JsonSettings
 
remove(T) - Method in class com.xpdustry.claj.server.ClajConfig.SetField
 
removeAddressRate(ClajConnection) - Method in class com.xpdustry.claj.server.ClajRoutines
 
removeClient(ClajConnection) - Method in class com.xpdustry.claj.server.ClajRelay
 
removeClient(ClajConnection, DcReason) - Method in class com.xpdustry.claj.server.ClajRelay
 
removeClient(ClajConnection, DcReason, boolean) - Method in class com.xpdustry.claj.server.ClajRelay
 
removeRoom() - Method in class com.xpdustry.claj.server.ClajRoutines.AddressRater
 
removeRoom(ClajConnection) - Method in class com.xpdustry.claj.server.ClajRoom
 
repo - Variable in class com.xpdustry.claj.server.plugin.Plugins.PluginMeta
 
requesting - Variable in class com.xpdustry.claj.server.ClajRoutines.CachedRoomList
 
requestingState - Variable in class com.xpdustry.claj.server.ClajRoom
Whether a state has been requested to the room.
requestRoomList(ClajConnection, ClajType) - Method in class com.xpdustry.claj.server.ClajRelay
Requests a room list (if not already) and adds the connection to the pending requests cache.
requestRoomList(ClajConnection, ClajType, LongMap, Cons) - Method in class com.xpdustry.claj.server.ClajRoutines
 
requestRoomState(ClajConnection, ClajRoom) - Method in class com.xpdustry.claj.server.ClajRelay
Requests a room state (if not already) and adds the connection to the pending requests cache.
requestRoomState(ClajRoom, Cons) - Method in class com.xpdustry.claj.server.ClajRoutines
 
requestState() - Method in class com.xpdustry.claj.server.ClajRoom
Only requests state if not already done.
requestState(long) - Method in class com.xpdustry.claj.server.ClajRoom
Only requests state if not already done.
required - Variable in class com.xpdustry.claj.server.plugin.Plugins.PluginDependency
 
reset - Variable in class com.xpdustry.claj.server.util.NetListenerEvent
 
reset() - Method in class com.xpdustry.claj.server.util.JsonWriterBuilder
 
reset() - Method in class com.xpdustry.claj.server.util.NetListenerEvent
 
resolveDependencies(Seq) - Method in class com.xpdustry.claj.server.plugin.Plugins
Resolves the loading order of a list plugins using their internal names.
room - Variable in class com.xpdustry.claj.server.ClajConnection
 
room - Variable in class com.xpdustry.claj.server.ClajEvents.ActionDeniedEvent
 
room - Variable in class com.xpdustry.claj.server.ClajEvents.ConfigurationChangedEvent
 
room - Variable in class com.xpdustry.claj.server.ClajEvents.ConnectionJoinedEvent
 
room - Variable in class com.xpdustry.claj.server.ClajEvents.ConnectionJoinRejectedEvent
Can be null if the room is not found.
room - Variable in class com.xpdustry.claj.server.ClajEvents.ConnectionLeftEvent
 
room - Variable in class com.xpdustry.claj.server.ClajEvents.ConnectionPreJoinEvent
 
room - Variable in class com.xpdustry.claj.server.ClajEvents.HostKickedEvent
At this point, the room is already closed and everyone have been kicked.
room - Variable in class com.xpdustry.claj.server.ClajEvents.RoomClosedEvent
Note that the room is closed, so it cannot be used anymore.
room - Variable in class com.xpdustry.claj.server.ClajEvents.RoomCreatedEvent
 
room - Variable in class com.xpdustry.claj.server.ClajEvents.RoomInfoRejectedEvent
Not nul means that action was denied because the room is closing.
room - Variable in class com.xpdustry.claj.server.ClajEvents.StateChangedEvent
 
RoomClosedEvent(ClajRoom) - Constructor for class com.xpdustry.claj.server.ClajEvents.RoomClosedEvent
 
RoomCreatedEvent(ClajRoom) - Constructor for class com.xpdustry.claj.server.ClajEvents.RoomCreatedEvent
 
RoomCreationRejectedEvent(ClajConnection, CloseReason) - Constructor for class com.xpdustry.claj.server.ClajEvents.RoomCreationRejectedEvent
 
RoomInfoRejectedEvent(ClajConnection, ClajRoom, boolean) - Constructor for class com.xpdustry.claj.server.ClajEvents.RoomInfoRejectedEvent
 
roomLimit - Static variable in class com.xpdustry.claj.server.ClajConfig
 
RoomListRejectedEvent(ClajConnection, ClajType, boolean) - Constructor for class com.xpdustry.claj.server.ClajEvents.RoomListRejectedEvent
 
rooms - Variable in class com.xpdustry.claj.server.ClajRelay
List of created rooms.
rooms - Variable in class com.xpdustry.claj.server.ClajRoutines.AddressRater
 
rooms - Variable in class com.xpdustry.claj.server.ClajStateSummary
 
root - Variable in class com.xpdustry.claj.server.plugin.Plugins.LoadedPlugin
The root zip file; points to the contents of this plugin.
routines - Variable in class com.xpdustry.claj.server.ClajRelay
Server routines that manages cache and cleaning things.
run() - Method in class com.xpdustry.claj.server.ClajRelay
 
run() - Method in class com.xpdustry.claj.server.util.NetListenerEvent
 
run() - Method in class com.xpdustry.claj.server.util.TaskQueue
 
runnables - Variable in class com.xpdustry.claj.server.ServerApplication
 
running - Variable in class com.xpdustry.claj.server.ClajRelay
 
running - Variable in class com.xpdustry.claj.server.ServerApplication
 

S

saddress - Variable in class com.xpdustry.claj.server.ClajConnection
 
save() - Method in class com.xpdustry.claj.server.ClajConfig.Field
 
save() - Static method in class com.xpdustry.claj.server.ClajConfig
Force save all fields.
save() - Static method in class com.xpdustry.claj.server.util.Autosaver
Save all registered things now, only if modified.
save() - Method in interface com.xpdustry.claj.server.util.Autosaver.Saveable
 
save() - Method in class com.xpdustry.claj.server.util.JsonSettings
Saves all values.
saveNeeded() - Static method in class com.xpdustry.claj.server.util.Autosaver
 
saveValue() - Method in class com.xpdustry.claj.server.ClajConfig.Field
 
saveValue() - Method in class com.xpdustry.claj.server.ClajConfig.SetField
 
saveValues(Fi) - Method in class com.xpdustry.claj.server.util.JsonSettings
 
scheludeRoomAfk(ClajRoom, Runnable) - Method in class com.xpdustry.claj.server.ClajRoutines
 
send() - Method in class com.xpdustry.claj.server.ClajRoutines.CachedRoomList
 
send(Object) - Method in class com.xpdustry.claj.server.ClajConnection
Send via TCP.
send(Object, boolean) - Method in class com.xpdustry.claj.server.ClajConnection
 
sendConnectionAccepted(ClajConnection, ClajRoom) - Static method in class com.xpdustry.claj.server.ClajRoom
 
sendConnectionJoined(ClajConnection, ClajConnection) - Static method in class com.xpdustry.claj.server.ClajRoom
 
sendConnectionRejected(ClajConnection, long, RejectReason) - Static method in class com.xpdustry.claj.server.ClajRoom
 
sendDisconnect(ClajConnection, int, DcReason) - Static method in class com.xpdustry.claj.server.ClajRoom
 
sendIdle(ClajConnection, int) - Static method in class com.xpdustry.claj.server.ClajRoom
 
sendMessage(ClajConnection, MessageType) - Static method in class com.xpdustry.claj.server.ClajRoom
 
sendMessage(ClajConnection, String) - Static method in class com.xpdustry.claj.server.ClajRoom
 
sendPayload(ClajConnection, int, RawPacket, boolean) - Static method in class com.xpdustry.claj.server.ClajRoom
Note that raw packet will be freed after serialization.
sendPopup(ClajConnection, String) - Static method in class com.xpdustry.claj.server.ClajRoom
 
sendRoomClosed(ClajConnection, CloseReason) - Static method in class com.xpdustry.claj.server.ClajRoom
 
sendRoomCreated(ClajConnection, long) - Static method in class com.xpdustry.claj.server.ClajRoom
 
sendRoomInfoRejected(ClajConnection) - Static method in class com.xpdustry.claj.server.ClajRoom
 
sendRoomList(ClajType) - Method in class com.xpdustry.claj.server.ClajRelay
 
sendRoomList(ClajType, boolean) - Method in class com.xpdustry.claj.server.ClajRelay
 
sendRoomList(ClajType, boolean) - Method in class com.xpdustry.claj.server.ClajRoutines
 
sendRoomState(ClajConnection) - Method in class com.xpdustry.claj.server.ClajRoom
State is only send if room ClajRoom.isPublic.
sendRoomState(ClajConnection, ClajRoom) - Static method in class com.xpdustry.claj.server.ClajRoom
 
sendRoomState(ClajRoom) - Method in class com.xpdustry.claj.server.ClajRelay
Send room state to connections that awaiting it.
sendRoomStateRequest(ClajConnection) - Static method in class com.xpdustry.claj.server.ClajRoom
 
sendStream(PreparedStream) - Method in class com.xpdustry.claj.server.ClajConnection
 
sendStream(Packet) - Method in class com.xpdustry.claj.server.ClajConnection
 
serializer - Variable in class com.xpdustry.claj.server.util.NetListenerEvent
 
ServerApplication - Class in com.xpdustry.claj.server
 
ServerApplication(ApplicationListener, int, Cons) - Constructor for class com.xpdustry.claj.server.ServerApplication
 
ServerLoadedEvent() - Constructor for class com.xpdustry.claj.server.ClajEvents.ServerLoadedEvent
 
ServerStoppingEvent(boolean) - Constructor for class com.xpdustry.claj.server.ClajEvents.ServerStoppingEvent
 
serverVersion - Static variable in class com.xpdustry.claj.server.ClajConfig
Must be set at initialization and not modified after.
set(ClajRoom, boolean) - Method in class com.xpdustry.claj.server.ClajRoutines.CachedRoomList
 
set(String, Object) - Method in class com.xpdustry.claj.server.util.JsonWriterBuilder
 
set(T) - Method in class com.xpdustry.claj.server.ClajConfig.Field
 
setAutosaved(boolean) - Method in class com.xpdustry.claj.server.util.JsonSettings
 
setBackuped(boolean) - Method in class com.xpdustry.claj.server.util.JsonSettings
 
setClipboardText(String) - Method in class com.xpdustry.claj.server.ServerApplication
 
setCompressed(boolean) - Method in class com.xpdustry.claj.server.util.JsonSettings
 
setConfiguration(boolean, boolean, short, boolean, int) - Method in class com.xpdustry.claj.server.ClajRoom
 
setDefault() - Method in class com.xpdustry.claj.server.ClajConfig.Field
 
setDefault(String, Object) - Method in class com.xpdustry.claj.server.util.JsonSettings
 
setErrorHandler(Cons) - Method in class com.xpdustry.claj.server.util.JsonSettings
Sets the error handler function.
SetField(String, String, Class, Prov) - Constructor for class com.xpdustry.claj.server.ClajConfig.SetField
 
SetField(String, String, Class, Prov, boolean) - Constructor for class com.xpdustry.claj.server.ClajConfig.SetField
 
SetField(String, String, Class, Prov, Cons) - Constructor for class com.xpdustry.claj.server.ClajConfig.SetField
 
SetField(String, String, Class, Prov, Cons, boolean) - Constructor for class com.xpdustry.claj.server.ClajConfig.SetField
 
setOutputType(JsonWriter.OutputType) - Method in class com.xpdustry.claj.server.util.JsonWriterBuilder
 
setQuoteLongValues(boolean) - Method in class com.xpdustry.claj.server.util.JsonWriterBuilder
 
setRoom(ClajConnection) - Method in class com.xpdustry.claj.server.ClajRoom
 
setRoomAfk(ClajRoom, boolean) - Method in class com.xpdustry.claj.server.ClajRelay
 
setRoomConfiguration(ClajRoom, boolean, boolean, short, boolean, int) - Method in class com.xpdustry.claj.server.ClajRelay
 
setRoomState(ClajRoom, ByteBuffer) - Method in class com.xpdustry.claj.server.ClajRelay
 
setState(ByteBuffer) - Method in class com.xpdustry.claj.server.ClajRoom
 
settings - Static variable in class com.xpdustry.claj.server.ClajConfig
 
shouldRequestState() - Method in class com.xpdustry.claj.server.ClajRoom
 
sid - Variable in class com.xpdustry.claj.server.ClajConnection
hex version of ClajConnection.id.
sid - Variable in class com.xpdustry.claj.server.ClajRoom
The room id encoded in an url-safe base64 string.
simple - Variable in class com.xpdustry.claj.server.util.JsonSettings
 
size - Variable in class com.xpdustry.claj.server.util.TaskQueue
 
size() - Method in class com.xpdustry.claj.server.util.JsonSettings
 
size() - Method in class com.xpdustry.claj.server.util.TaskQueue
 
skipPluginLoading - Static variable in class com.xpdustry.claj.server.ClajVars
Skip loading of plugins.
softDependencies - Variable in class com.xpdustry.claj.server.plugin.Plugins.LoadedPlugin
This plugin soft dependencies as already-loaded plugins.
softDependencies - Variable in class com.xpdustry.claj.server.plugin.Plugins.PluginMeta
 
spamLimit - Static variable in class com.xpdustry.claj.server.ClajConfig
 
state - Variable in class com.xpdustry.claj.server.ClajRoom
De-serialized room state, only present if the right decoder is present.
state - Variable in class com.xpdustry.claj.server.plugin.Plugins.LoadedPlugin
Current state of this plugin.
StateChangedEvent(ClajRoom) - Constructor for class com.xpdustry.claj.server.ClajEvents.StateChangedEvent
 
stateLifetime - Static variable in class com.xpdustry.claj.server.ClajConfig
 
stateLimit - Static variable in class com.xpdustry.claj.server.ClajConfig
 
stateRate - Variable in class com.xpdustry.claj.server.ClajRoom
Room state rate-limit.
stateTimeout - Static variable in class com.xpdustry.claj.server.ClajConfig
 
stillAvailable - Variable in class com.xpdustry.claj.server.ClajEvents.ServerStoppingEvent
Whether the server is still available or not to send packets.
stop() - Method in class com.xpdustry.claj.server.ClajRelay
 
stop(boolean) - Method in class com.xpdustry.claj.server.ClajRelay
 
stop(boolean, Runnable) - Method in class com.xpdustry.claj.server.ClajRelay
 
stop(Runnable) - Method in class com.xpdustry.claj.server.ClajRelay
 
systemCpuLoad - Variable in class com.xpdustry.claj.server.ClajStateSummary
in %.

T

tags - Static variable in class com.xpdustry.claj.server.ClajVars
 
TaskQueue - Class in com.xpdustry.claj.server.util
Taken from arc-lite.
TaskQueue() - Constructor for class com.xpdustry.claj.server.util.TaskQueue
 
TaskQueue.Chunk - Class in com.xpdustry.claj.server.util
 
textFormat - Static variable in class com.xpdustry.claj.server.ClajVars
 
timeout - Variable in class com.xpdustry.claj.server.ServerApplication
 
toClajCon(Connection) - Static method in class com.xpdustry.claj.server.ClajRelay
 
topic - Variable in class com.xpdustry.claj.server.plugin.PluginLogger
 
toString() - Method in class com.xpdustry.claj.server.ClajConfig.Field
 
toString() - Method in class com.xpdustry.claj.server.ClajRoom
 
toString() - Method in class com.xpdustry.claj.server.plugin.Plugins.LoadedPlugin
 
toString() - Method in class com.xpdustry.claj.server.plugin.Plugins.PluginMeta
 
totalDownload - Variable in class com.xpdustry.claj.server.ClajStateSummary
This ignores Ethernet/IP/TCP/ArcNet headers.
totalDownload - Variable in class com.xpdustry.claj.server.util.NetworkSpeed
 
totalDownload() - Method in class com.xpdustry.claj.server.util.NetworkSpeed
Total number of things.
totalTransfertDownload - Variable in class com.xpdustry.claj.server.ClajStateSummary
 
totalTransfertUpload - Variable in class com.xpdustry.claj.server.ClajStateSummary
 
totalUpload - Variable in class com.xpdustry.claj.server.ClajStateSummary
This ignores Ethernet/IP/TCP/ArcNet headers.
totalUpload - Variable in class com.xpdustry.claj.server.util.NetworkSpeed
 
totalUpload() - Method in class com.xpdustry.claj.server.util.NetworkSpeed
Total number of things.
transferredPackets - Variable in class com.xpdustry.claj.server.ClajRoom
For debugging, to know how many packets were transferred from a client to a host, and vice versa.
type - Variable in class com.xpdustry.claj.server.ClajConfig.Field
 
type - Variable in class com.xpdustry.claj.server.ClajEvents.RoomListRejectedEvent
 
type - Variable in class com.xpdustry.claj.server.ClajRoom
Room implementation type.
type - Variable in class com.xpdustry.claj.server.ClajRoutines.CachedRoomList
 
type - Variable in class com.xpdustry.claj.server.util.NetListenerEvent
-1: invalid, 0: connected, 1: disconnected, 2: received raw, 3: received, 4: idle.
typeBlacklist - Static variable in class com.xpdustry.claj.server.ClajConfig
 
types - Variable in class com.xpdustry.claj.server.ClajRelay
Rooms sorted by type.

U

UNCREATED_ROOM - Static variable in class com.xpdustry.claj.server.ClajRoom
Id saying that no room is created.
unsupported - Enum constant in enum class com.xpdustry.claj.server.plugin.Plugins.PluginState
 
update(int) - Method in class com.xpdustry.claj.server.ClajRelay
 
updateRoom(ClajRoom, boolean) - Method in class com.xpdustry.claj.server.ClajRoutines
 
updateTime(int) - Method in class com.xpdustry.claj.server.ClajRelay
 
updating() - Method in class com.xpdustry.claj.server.ClajRoutines.CachedRoomList
 
uploadAccum - Variable in class com.xpdustry.claj.server.util.NetworkSpeed
 
uploadLock - Variable in class com.xpdustry.claj.server.util.NetworkSpeed
 
uploadMark() - Method in class com.xpdustry.claj.server.util.NetworkSpeed
 
uploadMark(int) - Method in class com.xpdustry.claj.server.util.NetworkSpeed
 
uploadSpeed - Variable in class com.xpdustry.claj.server.ClajStateSummary
This ignores Ethernet/IP/TCP/ArcNet headers.
uploadSpeed - Variable in class com.xpdustry.claj.server.util.NetworkSpeed
 
uploadSpeed() - Method in class com.xpdustry.claj.server.util.NetworkSpeed
Number of things per second.
uploadTransfert - Variable in class com.xpdustry.claj.server.ClajStateSummary
 
uptime - Variable in class com.xpdustry.claj.server.ClajStateSummary
 
usedHeap - Variable in class com.xpdustry.claj.server.ClajStateSummary
 
usedMeta - Variable in class com.xpdustry.claj.server.ClajStateSummary
 

V

value - Variable in class com.xpdustry.claj.server.ClajConfig.Field
 
value(Object) - Method in class com.xpdustry.claj.server.util.JsonWriterBuilder
 
valueOf(String) - Static method in enum class com.xpdustry.claj.server.plugin.Plugins.PluginState
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.xpdustry.claj.server.util.Autosaver.SavePriority
Returns the enum constant of this class with the specified name.
values - Variable in class com.xpdustry.claj.server.util.JsonSettings
 
values() - Static method in enum class com.xpdustry.claj.server.plugin.Plugins.PluginState
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class com.xpdustry.claj.server.util.Autosaver.SavePriority
Returns an array containing the constants of this enum class, in the order they are declared.
version - Variable in class com.xpdustry.claj.server.ClajStateSummary
 
version - Static variable in class com.xpdustry.claj.server.ClajVars
 
version - Variable in class com.xpdustry.claj.server.plugin.Plugins.PluginMeta
 
visited - Variable in class com.xpdustry.claj.server.plugin.Plugins.PluginResolutionContext
 

W

waitingTasks() - Method in class com.xpdustry.claj.server.ServerApplication
 
warn(String) - Method in class com.xpdustry.claj.server.plugin.PluginLogger
 
warn(String, Object...) - Method in class com.xpdustry.claj.server.ClajRelay
 
warn(String, Object...) - Method in class com.xpdustry.claj.server.plugin.PluginLogger
 
warnClosing - Static variable in class com.xpdustry.claj.server.ClajConfig
 
warnDeprecated - Static variable in class com.xpdustry.claj.server.ClajConfig
 
workingDirectory - Static variable in class com.xpdustry.claj.server.ClajVars
 
write - Static variable in class com.xpdustry.claj.server.ClajServerSerializer
 
write(ByteBuffer, Object) - Method in class com.xpdustry.claj.server.ClajServerSerializer
 
writeClaj(ByteBuffer, Packet) - Method in class com.xpdustry.claj.server.ClajServerSerializer
 
writeString(ByteBuffer, String) - Method in class com.xpdustry.claj.server.ClajServerSerializer
 
A B C D E F G H I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form