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

A

add(byte[]) - Method in class com.xpdustry.claj.common.net.stream.StreamBuilder
 
add(StreamChunk) - Method in class com.xpdustry.claj.common.net.stream.StreamBuilder
 
addListener(NetListener) - Method in class com.xpdustry.claj.common.net.DispatchListener
 
address - Variable in class com.xpdustry.claj.common.status.ServerState
 
addressHash - Variable in class com.xpdustry.claj.common.packets.ConnectionJoinPacket
 
AddressUtil - Class in com.xpdustry.claj.common.util
 
AddressUtil() - Constructor for class com.xpdustry.claj.common.util.AddressUtil
 
afk - Enum constant in enum class com.xpdustry.claj.common.status.CloseReason
The room as been closed by the server because it considered the room as AFK.
all - Static variable in enum class com.xpdustry.claj.common.status.CloseReason
 
all - Static variable in enum class com.xpdustry.claj.common.status.MessageType
 
all - Static variable in enum class com.xpdustry.claj.common.status.RejectReason
 
allow(boolean) - Method in interface com.xpdustry.claj.common.net.stream.StreamPacket
 
allow(boolean) - Method in class com.xpdustry.claj.common.packets.ClajMessagePacket
 
allow(boolean) - Method in class com.xpdustry.claj.common.packets.ClajTextMessagePacket
 
allow(boolean) - Method in class com.xpdustry.claj.common.packets.ConnectionIdlingPacket
 
allow(boolean) - Method in class com.xpdustry.claj.common.packets.ConnectionJoinPacket
 
allow(boolean) - Method in interface com.xpdustry.claj.common.packets.Packet
 
allow(boolean) - Method in class com.xpdustry.claj.common.packets.RoomClosedPacket
 
allow(boolean) - Method in class com.xpdustry.claj.common.packets.RoomClosureRequestPacket
 
allow(boolean) - Method in class com.xpdustry.claj.common.packets.RoomConfigPacket
 
allow(boolean) - Method in class com.xpdustry.claj.common.packets.RoomCreationRequestPacket
 
allow(boolean) - Method in class com.xpdustry.claj.common.packets.RoomInfoDeniedPacket
 
allow(boolean) - Method in class com.xpdustry.claj.common.packets.RoomInfoPacket
 
allow(boolean) - Method in class com.xpdustry.claj.common.packets.RoomInfoRequestPacket
 
allow(boolean) - Method in class com.xpdustry.claj.common.packets.RoomJoinPacket
 
allow(boolean) - Method in class com.xpdustry.claj.common.packets.RoomLinkPacket
 
allow(boolean) - Method in class com.xpdustry.claj.common.packets.RoomListPacket
 
allow(boolean) - Method in class com.xpdustry.claj.common.packets.RoomListRequestPacket
 
allow(boolean) - Method in class com.xpdustry.claj.common.packets.RoomStatePacket
 
allow(boolean) - Method in class com.xpdustry.claj.common.packets.RoomStateRequestPacket
 
allow(boolean) - Method in class com.xpdustry.claj.common.packets.ServerInfoPacket
 
allowConnected(Connection) - Method in interface com.xpdustry.claj.common.net.NetListenerFilter
 
allowDisconnected(Connection, DcReason) - Method in interface com.xpdustry.claj.common.net.NetListenerFilter
 
allowIdle(Connection) - Method in interface com.xpdustry.claj.common.net.NetListenerFilter
 
allowReceived(Connection, Object) - Method in interface com.xpdustry.claj.common.net.NetListenerFilter
 
alreadyHosting - Enum constant in enum class com.xpdustry.claj.common.status.MessageType
 
ASCII - Static variable in class com.xpdustry.claj.common.status.ClajType
 

B

back - Variable in class com.xpdustry.claj.common.net.stream.StreamBuilder
 
back - Variable in class com.xpdustry.claj.common.util.ByteArrayBufferOutput
 
base64ToLong(String) - Static method in class com.xpdustry.claj.common.util.Strings
 
blacklisted - Enum constant in enum class com.xpdustry.claj.common.status.CloseReason
The CLaJ server doesn't allows the provided implementation.
bucketCap - Variable in class com.xpdustry.claj.common.util.ByteBufferPool
 
bucketOf(int) - Method in class com.xpdustry.claj.common.util.ByteBufferPool
 
build() - Method in class com.xpdustry.claj.common.net.stream.StreamBuilder
 
ByteArrayBufferOutput - Class in com.xpdustry.claj.common.util
Writes data into a ByteArrayOutputStream, optionally compressible, and maintains a ByteBuffer to the data.
ByteArrayBufferOutput() - Constructor for class com.xpdustry.claj.common.util.ByteArrayBufferOutput
 
ByteArrayBufferOutput(int) - Constructor for class com.xpdustry.claj.common.util.ByteArrayBufferOutput
 
ByteArrayBufferOutput(int, boolean) - Constructor for class com.xpdustry.claj.common.util.ByteArrayBufferOutput
 
ByteBufferPool - Class in com.xpdustry.claj.common.util
 
ByteBufferPool() - Constructor for class com.xpdustry.claj.common.util.ByteBufferPool
Creates a buffer pool with a default ByteBufferPool.factor and ByteBufferPool.bucketCap of 1024.
ByteBufferPool(int, int) - Constructor for class com.xpdustry.claj.common.util.ByteBufferPool
 

C

capacity - Variable in class com.xpdustry.claj.common.util.Pool
The maximum number of objects that can be pooled.
cbuilders - Static variable in class com.xpdustry.claj.common.net.stream.StreamReceiver
 
chunkSize - Variable in class com.xpdustry.claj.common.net.stream.PreparedStream
 
chunkSize - Variable in class com.xpdustry.claj.common.net.stream.StreamSender
 
cJust(Seq, int) - Static method in class com.xpdustry.claj.common.util.Strings
 
cJust(Seq, int, String) - Static method in class com.xpdustry.claj.common.util.Strings
 
cJust(String, int) - Static method in class com.xpdustry.claj.common.util.Strings
 
cJust(String, int, String) - Static method in class com.xpdustry.claj.common.util.Strings
Justify string to the center.
ClajMessagePacket - Class in com.xpdustry.claj.common.packets
 
ClajMessagePacket() - Constructor for class com.xpdustry.claj.common.packets.ClajMessagePacket
 
ClajNet - Class in com.xpdustry.claj.common
 
ClajNet() - Constructor for class com.xpdustry.claj.common.ClajNet
 
ClajPackets - Class in com.xpdustry.claj.common
 
ClajPackets() - Constructor for class com.xpdustry.claj.common.ClajPackets
 
ClajPackets.Connect - Class in com.xpdustry.claj.common
Generic client connection event.
ClajPackets.Disconnect - Class in com.xpdustry.claj.common
Generic client disconnection event.
ClajPackets.Idle - Class in com.xpdustry.claj.common
Generic client idle event.
ClajPopupPacket - Class in com.xpdustry.claj.common.packets
 
ClajPopupPacket() - Constructor for class com.xpdustry.claj.common.packets.ClajPopupPacket
 
ClajTextMessagePacket - Class in com.xpdustry.claj.common.packets
Note that the text will be truncated to 1024 characters.
ClajTextMessagePacket() - Constructor for class com.xpdustry.claj.common.packets.ClajTextMessagePacket
 
ClajType - Class in com.xpdustry.claj.common.status
Must be in ASCII, 16 BYTES max, and without spaces.
ClajType(byte[]) - Constructor for class com.xpdustry.claj.common.status.ClajType
 
ClajType(String) - Constructor for class com.xpdustry.claj.common.status.ClajType
 
ClajType(String, byte[]) - Constructor for class com.xpdustry.claj.common.status.ClajType
 
ClajVersion - Class in com.xpdustry.claj.common.status
CLaJ versions are always in format: protocolVersion.majorVersion.minorVersion.
ClajVersion(int, int, int) - Constructor for class com.xpdustry.claj.common.status.ClajVersion
 
clear() - Method in class com.xpdustry.claj.common.util.ByteBufferPool
Clear all buffer buckets.
clear() - Method in class com.xpdustry.claj.common.util.Pool
Removes all free objects from this pool.
clear(boolean) - Method in class com.xpdustry.claj.common.packets.RoomListPacket
 
clear(boolean) - Method in class com.xpdustry.claj.common.util.ByteBufferPool
 
ClientReceiver - Class in com.xpdustry.claj.common.net
A client listener that can delegate packet decoding and reception to the main app.
ClientReceiver(EndPoint) - Constructor for class com.xpdustry.claj.common.net.ClientReceiver
 
ClientReceiver(EndPoint, NetListenerFilter) - Constructor for class com.xpdustry.claj.common.net.ClientReceiver
 
ClientReceiver(EndPoint, NetListenerFilter, Cons) - Constructor for class com.xpdustry.claj.common.net.ClientReceiver
 
clients - Variable in class com.xpdustry.claj.common.packets.RoomInfoPacket
 
close() - Method in class com.xpdustry.claj.common.util.ByteArrayBufferOutput
 
closed - Enum constant in enum class com.xpdustry.claj.common.status.CloseReason
Closed without reason.
CloseReason - Enum Class in com.xpdustry.claj.common.status
 
columnify(int, Seq...) - Static method in class com.xpdustry.claj.common.util.Strings
 
columnify(int, String, Seq...) - Static method in class com.xpdustry.claj.common.util.Strings
 
columnify(int, String, Seq[], int[]) - Static method in class com.xpdustry.claj.common.util.Strings
 
columnify(Seq...) - Static method in class com.xpdustry.claj.common.util.Strings
 
columnify(String, Seq...) - Static method in class com.xpdustry.claj.common.util.Strings
 
columnify(String, Seq[], int[]) - Static method in class com.xpdustry.claj.common.util.Strings
 
com.xpdustry.claj.common - package com.xpdustry.claj.common
 
com.xpdustry.claj.common.net - package com.xpdustry.claj.common.net
 
com.xpdustry.claj.common.net.stream - package com.xpdustry.claj.common.net.stream
 
com.xpdustry.claj.common.packets - package com.xpdustry.claj.common.packets
 
com.xpdustry.claj.common.status - package com.xpdustry.claj.common.status
 
com.xpdustry.claj.common.util - package com.xpdustry.claj.common.util
 
compare(ClajVersion, ClajVersion) - Static method in class com.xpdustry.claj.common.status.ClajVersion
 
compareTo(ClajVersion) - Method in class com.xpdustry.claj.common.status.ClajVersion
 
compareTo(String) - Method in class com.xpdustry.claj.common.status.ClajVersion
 
compareVersion(String, String) - Static method in class com.xpdustry.claj.common.util.Strings
 
compareVersion(String, String, int) - Static method in class com.xpdustry.claj.common.util.Strings
Compare if newVersion is greater or less than currentVersion, e.g.
compressed - Variable in class com.xpdustry.claj.common.net.stream.PreparedStream
 
compressed - Variable in class com.xpdustry.claj.common.net.stream.StreamBuilder
 
compressed - Variable in class com.xpdustry.claj.common.net.stream.StreamHead
 
compressed - Variable in class com.xpdustry.claj.common.net.stream.StreamSender
 
compressed - Variable in class com.xpdustry.claj.common.util.ByteArrayBufferOutput
 
conClosureDenied - Enum constant in enum class com.xpdustry.claj.common.status.MessageType
 
configureDenied - Enum constant in enum class com.xpdustry.claj.common.status.MessageType
 
conID - Variable in class com.xpdustry.claj.common.packets.ConnectionWrapperPacket
0 can be used to broadcast message.
Connect() - Constructor for class com.xpdustry.claj.common.ClajPackets.Connect
 
connected(Connection) - Method in class com.xpdustry.claj.common.net.ClientReceiver
 
connected(Connection) - Method in class com.xpdustry.claj.common.net.DispatchListener
 
connected(Connection) - Method in class com.xpdustry.claj.common.net.ServerReceiver
 
connection - Variable in class com.xpdustry.claj.common.net.stream.StreamSender
 
ConnectionClosedPacket - Class in com.xpdustry.claj.common.packets
 
ConnectionClosedPacket() - Constructor for class com.xpdustry.claj.common.packets.ConnectionClosedPacket
 
ConnectionIdlingPacket - Class in com.xpdustry.claj.common.packets
 
ConnectionIdlingPacket() - Constructor for class com.xpdustry.claj.common.packets.ConnectionIdlingPacket
 
ConnectionJoinPacket - Class in com.xpdustry.claj.common.packets
 
ConnectionJoinPacket() - Constructor for class com.xpdustry.claj.common.packets.ConnectionJoinPacket
 
ConnectionPayloadPacket - Class in com.xpdustry.claj.common.packets
Special packet for connection packet wrapping.
ConnectionPayloadPacket() - Constructor for class com.xpdustry.claj.common.packets.ConnectionPayloadPacket
 
ConnectionPayloadPacket.Serializer - Interface in com.xpdustry.claj.common.packets
 
ConnectionWrapperPacket - Class in com.xpdustry.claj.common.packets
 
ConnectionWrapperPacket() - Constructor for class com.xpdustry.claj.common.packets.ConnectionWrapperPacket
 
contains(String, Boolf) - Static method in class com.xpdustry.claj.common.util.Strings
String.contains(CharSequence) but with a predicate.
copy() - Method in class com.xpdustry.claj.common.packets.RawPacket
 
cutIdle - Variable in class com.xpdustry.claj.common.net.DispatchListener
Whether DispatchListener.idle(Connection) calls stop if the connection has stopped to be idle.

D

data - Variable in class com.xpdustry.claj.common.net.stream.PreparedStream
 
data - Variable in class com.xpdustry.claj.common.net.stream.StreamChunk
 
data() - Method in class com.xpdustry.claj.common.packets.RawPacket
 
decode(byte[]) - Static method in class com.xpdustry.claj.common.status.ClajType
Data will be truncated if length is greater than ClajType.SIZE.
defaultFilter - Static variable in interface com.xpdustry.claj.common.net.NetListenerFilter
 
directs - Variable in class com.xpdustry.claj.common.util.ByteBufferPool
 
disconnected(Connection, DcReason) - Method in class com.xpdustry.claj.common.net.ClientReceiver
 
disconnected(Connection, DcReason) - Method in class com.xpdustry.claj.common.net.DispatchListener
 
disconnected(Connection, DcReason) - Method in class com.xpdustry.claj.common.net.ServerReceiver
 
DispatchListener - Class in com.xpdustry.claj.common.net
 
DispatchListener() - Constructor for class com.xpdustry.claj.common.net.DispatchListener
 
DispatchListener(boolean) - Constructor for class com.xpdustry.claj.common.net.DispatchListener
 

E

encode(String) - Static method in class com.xpdustry.claj.common.status.ClajType
str will be truncated if length is greater than ClajType.SIZE.
encodeId(int) - Static method in class com.xpdustry.claj.common.util.AddressUtil
 
encodeId(Connection) - Static method in class com.xpdustry.claj.common.util.AddressUtil
 
equals(Object) - Method in class com.xpdustry.claj.common.status.ClajType
 
equals(Object) - Method in class com.xpdustry.claj.common.status.ClajVersion
 
error - Enum constant in enum class com.xpdustry.claj.common.status.CloseReason
Connection closed or an error occurred while hosting a room.
error - Enum constant in enum class com.xpdustry.claj.common.status.RejectReason
Rejected without indications.
errorHandler - Variable in class com.xpdustry.claj.common.net.ClientReceiver
 
errorHandler - Variable in class com.xpdustry.claj.common.net.ServerReceiver
 

F

factor - Variable in class com.xpdustry.claj.common.util.ByteBufferPool
 
FastThreadLocal<T> - Class in com.xpdustry.claj.common.util
ThreadLocal with MRU fast path.
FastThreadLocal() - Constructor for class com.xpdustry.claj.common.util.FastThreadLocal
 
FastThreadLocal(Prov) - Constructor for class com.xpdustry.claj.common.util.FastThreadLocal
 
fill() - Method in class com.xpdustry.claj.common.util.Pool
Fill the pool with new objects.
fill(int) - Method in class com.xpdustry.claj.common.util.ByteBufferPool
Fill a bucket completely.
fill(int) - Method in class com.xpdustry.claj.common.util.Pool
Fill the pool with size new objects.
fill(int, int) - Method in class com.xpdustry.claj.common.util.ByteBufferPool
 
fill(int, int, boolean) - Method in class com.xpdustry.claj.common.util.ByteBufferPool
Fill a bucket with size new buffers.
filter - Variable in class com.xpdustry.claj.common.net.ClientReceiver
 
filter - Variable in class com.xpdustry.claj.common.net.ServerReceiver
 
finish() - Method in class com.xpdustry.claj.common.net.stream.StreamBuilder
Sets finish state and closes stream.
finished - Variable in class com.xpdustry.claj.common.net.stream.StreamBuilder
 
first - Variable in class com.xpdustry.claj.common.packets.RawPacket
 
flipIfNeeded(int) - Method in class com.xpdustry.claj.common.packets.RawPacket
 
flipped - Variable in class com.xpdustry.claj.common.packets.RawPacket
 
flush() - Method in class com.xpdustry.claj.common.util.ByteArrayBufferOutput
 
format(StringBuilder, String, Object...) - Static method in class com.xpdustry.claj.common.util.Strings
Like Strings.format(String, Object[]) but you can specify the StringBuilder.
formatBytes(long) - Static method in class com.xpdustry.claj.common.util.Strings
 
formatDuration(long, boolean) - Static method in class com.xpdustry.claj.common.util.Strings
Convert millis duration to localized human readable format (e.g.
formatSize(long, int, String) - Static method in class com.xpdustry.claj.common.util.Strings
 
formattedClassName(Class) - Static method in class com.xpdustry.claj.common.util.Strings
 
frameworkId - Static variable in class com.xpdustry.claj.common.ClajNet
Identifier for framework messages.
FrameworkSerializer - Interface in com.xpdustry.claj.common.net
 
free(ByteBuffer) - Static method in class com.xpdustry.claj.common.util.ByteBufferPool
 
free(T) - Method in class com.xpdustry.claj.common.util.Pool
Puts the specified object in the pool, making it eligible to be returned by Pool.obtain().
freeAll(Seq) - Method in class com.xpdustry.claj.common.util.Pool
Puts the specified objects in the pool.
freePooledPacket(byte, T) - Static method in class com.xpdustry.claj.common.ClajNet
Never free a packet get from ClajNet.newLocalPacket(byte)!!
freePooledPacket(int, T) - Static method in class com.xpdustry.claj.common.ClajNet
 
freePooledPacket(T) - Static method in class com.xpdustry.claj.common.ClajNet
Never free a packet get from ClajNet.newLocalPacket(byte)!!

G

generate(long) - Static method in class com.xpdustry.claj.common.util.AddressUtil
Generates an IPv6 address using the hash.
get() - Static method in class com.xpdustry.claj.common.util.ByteBufferPool
 
get() - Method in class com.xpdustry.claj.common.util.FastThreadLocal
 
get(int) - Static method in class com.xpdustry.claj.common.ClajPackets.Disconnect
 
get(Connection) - Static method in class com.xpdustry.claj.common.util.AddressUtil
 
get(DcReason) - Static method in class com.xpdustry.claj.common.ClajPackets.Disconnect
 
getBuckets(boolean) - Method in class com.xpdustry.claj.common.util.ByteBufferPool
 
getDirect(int) - Static method in class com.xpdustry.claj.common.util.ByteBufferPool
 
getFilter() - Method in class com.xpdustry.claj.common.net.ClientReceiver
 
getFilter() - Method in class com.xpdustry.claj.common.net.ServerReceiver
 
getFree() - Method in class com.xpdustry.claj.common.util.Pool
The number of objects available to be obtained.
getHeap(int) - Static method in class com.xpdustry.claj.common.util.ByteBufferPool
 
getId(Packet) - Static method in class com.xpdustry.claj.common.ClajNet
 
getId(Class) - Static method in class com.xpdustry.claj.common.ClajNet
 
getIndex(byte) - Static method in class com.xpdustry.claj.common.ClajNet
 
getIndex(Class) - Static method in class com.xpdustry.claj.common.ClajNet
 
getListener(Class) - Method in class com.xpdustry.claj.common.net.ClientReceiver
 
getListener(Class) - Method in class com.xpdustry.claj.common.net.ServerReceiver
 
getListeners() - Method in class com.xpdustry.claj.common.net.DispatchListener
 
getString(Connection) - Static method in class com.xpdustry.claj.common.util.AddressUtil
 

H

handle(Class, Cons) - Method in class com.xpdustry.claj.common.net.ServerReceiver
 
handle(Class, Cons) - Method in class com.xpdustry.claj.common.net.ClientReceiver
 
handle(Class, Cons2) - Method in class com.xpdustry.claj.common.net.ServerReceiver
 
handle(Class, Runnable) - Method in class com.xpdustry.claj.common.net.ClientReceiver
 
handle(Class, Runnable) - Method in class com.xpdustry.claj.common.net.ServerReceiver
 
handleClient() - Method in interface com.xpdustry.claj.common.packets.Packet
Called when the client handle this packet.
handleReplace(Class, Cons) - Method in class com.xpdustry.claj.common.net.ClientReceiver
 
handleReplace(Class, Cons2) - Method in class com.xpdustry.claj.common.net.ServerReceiver
 
handleServer(Connection) - Method in interface com.xpdustry.claj.common.packets.Packet
Called when the server handle this packet.
has() - Static method in class com.xpdustry.claj.common.net.stream.StreamReceiver
 
has(int) - Method in class com.xpdustry.claj.common.util.ByteBufferPool
 
has(int, boolean) - Method in class com.xpdustry.claj.common.util.ByteBufferPool
 
has(Connection) - Static method in class com.xpdustry.claj.common.net.stream.StreamReceiver
 
hash - Variable in class com.xpdustry.claj.common.status.ClajType
 
hash(Connection) - Static method in class com.xpdustry.claj.common.util.AddressUtil
 
hash(InetAddress) - Static method in class com.xpdustry.claj.common.util.AddressUtil
Hashes the address using FNV-1a 64-bit.
hashCode() - Method in class com.xpdustry.claj.common.status.ClajType
 
hashCode() - Method in class com.xpdustry.claj.common.status.ClajVersion
 
heaps - Variable in class com.xpdustry.claj.common.util.ByteBufferPool
 

I

id - Static variable in class com.xpdustry.claj.common.ClajNet
Identifier for CLaJ packets.
id - Variable in class com.xpdustry.claj.common.net.stream.StreamBuilder
 
id - Variable in class com.xpdustry.claj.common.net.stream.StreamChunk
 
id - Variable in class com.xpdustry.claj.common.net.stream.StreamHead
 
id - Variable in class com.xpdustry.claj.common.net.stream.StreamSender
 
idle(Connection) - Method in class com.xpdustry.claj.common.net.ClientReceiver
 
idle(Connection) - Method in class com.xpdustry.claj.common.net.DispatchListener
 
idle(Connection) - Method in class com.xpdustry.claj.common.net.ServerReceiver
 
Idle() - Constructor for class com.xpdustry.claj.common.ClajPackets.Idle
 
incompatible - Enum constant in enum class com.xpdustry.claj.common.status.RejectReason
The CLaJ implementation of the room host is not the same as the provided one.
init() - Static method in class com.xpdustry.claj.common.ClajPackets
 
initialValue() - Method in class com.xpdustry.claj.common.util.FastThreadLocal
 
input - Variable in class com.xpdustry.claj.common.net.stream.StreamSender
 
insert(T[], int, T) - Static method in class com.xpdustry.claj.common.util.Structs
 
instance - Static variable in class com.xpdustry.claj.common.ClajPackets.Connect
 
instance - Static variable in class com.xpdustry.claj.common.ClajPackets.Idle
 
instance - Static variable in class com.xpdustry.claj.common.packets.RoomClosureRequestPacket
 
instance - Static variable in class com.xpdustry.claj.common.packets.RoomInfoDeniedPacket
 
instance - Static variable in class com.xpdustry.claj.common.packets.RoomStateRequestPacket
 
invalidPassword - Enum constant in enum class com.xpdustry.claj.common.status.RejectReason
The provided password is invalid.
isAtLeast(ClajVersion) - Method in class com.xpdustry.claj.common.status.ClajVersion
 
isAtLeast(String) - Method in class com.xpdustry.claj.common.status.ClajVersion
 
isDone() - Method in class com.xpdustry.claj.common.net.stream.StreamBuilder
 
isFalse(String) - Static method in class com.xpdustry.claj.common.util.Strings
 
isFalse(String, boolean) - Static method in class com.xpdustry.claj.common.util.Strings
 
isProtected - Variable in class com.xpdustry.claj.common.packets.RoomConfigPacket
Whether a password is needed to join the room.
isProtected - Variable in class com.xpdustry.claj.common.packets.RoomInfoPacket
 
isPublic - Variable in class com.xpdustry.claj.common.packets.RoomConfigPacket
Whether the room is visible in the explorer.
isTCP - Variable in class com.xpdustry.claj.common.packets.ConnectionPayloadPacket
 
isTrue(String) - Static method in class com.xpdustry.claj.common.util.Strings
 
isTrue(String, boolean) - Static method in class com.xpdustry.claj.common.util.Strings
 
isVersionAtLeast(ClajVersion, ClajVersion) - Static method in class com.xpdustry.claj.common.status.ClajVersion
 
isVersionAtLeast(String, String) - Static method in class com.xpdustry.claj.common.util.Strings
 
isVersionAtLeast(String, String, int) - Static method in class com.xpdustry.claj.common.util.Strings
 
iterable(T...) - Static method in class com.xpdustry.claj.common.util.Structs
 

J

join(CharSequence, CharSequence[], int, int) - Static method in class com.xpdustry.claj.common.util.Strings
Like String.join(CharSequence, CharSequence[]) but you can specify the start and end of the list.
jsonPrettyPrint(JsonValue, JsonWriter.OutputType) - Static method in class com.xpdustry.claj.common.util.Strings
 
jsonPrettyPrint(JsonValue, Writer, JsonWriter.OutputType) - Static method in class com.xpdustry.claj.common.util.Strings
 
jsonPrettyPrint(JsonValue, Writer, JsonWriter.OutputType, int) - Static method in class com.xpdustry.claj.common.util.Strings
Re-implementation of JsonValue.prettyPrint(OutputType, Writer), because the ident isn't correct and the max object size before new line is too big.

K

kebabize(String) - Static method in class com.xpdustry.claj.common.util.Strings
 

L

last - Variable in class com.xpdustry.claj.common.net.stream.StreamChunk
 
length - Variable in class com.xpdustry.claj.common.net.stream.StreamSender
 
listeners - Variable in class com.xpdustry.claj.common.net.ClientReceiver
 
listeners - Variable in class com.xpdustry.claj.common.net.DispatchListener
 
listeners - Variable in class com.xpdustry.claj.common.net.ServerReceiver
 
lJust(Seq, int) - Static method in class com.xpdustry.claj.common.util.Strings
 
lJust(Seq, int, String) - Static method in class com.xpdustry.claj.common.util.Strings
 
lJust(String, int) - Static method in class com.xpdustry.claj.common.util.Strings
 
lJust(String, int, String) - Static method in class com.xpdustry.claj.common.util.Strings
Justify string to the left.
longToBase64(long) - Static method in class com.xpdustry.claj.common.util.Strings
Encodes a long to an url-safe base64 string.

M

majorVersion - Variable in class com.xpdustry.claj.common.status.ClajVersion
 
makeFormatError(String, int) - Static method in class com.xpdustry.claj.common.status.ClajVersion
 
map(T[], Class, Func) - Static method in class com.xpdustry.claj.common.util.Structs
 
matches(String, Boolf) - Static method in class com.xpdustry.claj.common.util.Strings
String.matches(String) but with a predicate.
max(Iterable, Intf) - Static method in class com.xpdustry.claj.common.util.Structs
 
max(T[], Intf) - Static method in class com.xpdustry.claj.common.util.Structs
 
MAX_BUFF_SIZE - Static variable in class com.xpdustry.claj.common.packets.RoomStatePacket
Maximum buffer size allowed for a state.
MAX_PACKETS - Static variable in class com.xpdustry.claj.common.ClajNet
Maximum number of packet that can be registered.
MAX_STREAM_SIZE - Static variable in class com.xpdustry.claj.common.net.stream.StreamHead
 
MAX_STREAMS - Static variable in class com.xpdustry.claj.common.net.stream.StreamReceiver
 
maxClients - Variable in class com.xpdustry.claj.common.packets.RoomConfigPacket
Maximum number of client allowed in the room.
maxClients - Variable in class com.xpdustry.claj.common.packets.RoomInfoPacket
 
maxLength(Iterable) - Static method in class com.xpdustry.claj.common.util.Strings
 
maxLength(String...) - Static method in class com.xpdustry.claj.common.util.Strings
 
message - Variable in class com.xpdustry.claj.common.packets.ClajMessagePacket
 
message - Variable in class com.xpdustry.claj.common.packets.ClajTextMessagePacket
 
MessageType - Enum Class in com.xpdustry.claj.common.status
 
min(Iterable, Intf) - Static method in class com.xpdustry.claj.common.util.Structs
 
min(T[], Intf) - Static method in class com.xpdustry.claj.common.util.Structs
 
minorVersion - Variable in class com.xpdustry.claj.common.status.ClajVersion
 

N

NetListenerFilter - Interface in com.xpdustry.claj.common.net
 
newBucket - Variable in class com.xpdustry.claj.common.util.ByteBufferPool
 
newBuffer(boolean, int) - Method in class com.xpdustry.claj.common.util.ByteBufferPool
 
newLocalPacket(byte) - Static method in class com.xpdustry.claj.common.ClajNet
 
newLocalPacket(byte, boolean) - Static method in class com.xpdustry.claj.common.ClajNet
For use with read, if packets are processed on the same thread.
newLocalPacket(int, boolean) - Static method in class com.xpdustry.claj.common.ClajNet
 
newLocalPacket(Class) - Static method in class com.xpdustry.claj.common.ClajNet
 
newLocalPacket(Class, boolean) - Static method in class com.xpdustry.claj.common.ClajNet
For use with send, as packets are serialized in-place.
newObject() - Method in class com.xpdustry.claj.common.util.Pool
 
newPacket(byte) - Static method in class com.xpdustry.claj.common.ClajNet
 
newPooledPacket(byte) - Static method in class com.xpdustry.claj.common.ClajNet
For use with read, as packets are more likely to be processed on another thread.
newPooledPacket(int) - Static method in class com.xpdustry.claj.common.ClajNet
 
newPooledPacket(Class) - Static method in class com.xpdustry.claj.common.ClajNet
For use with send, if packets are serialized on another thread, or for other usages.
next(byte[]) - Method in class com.xpdustry.claj.common.net.stream.StreamSender
 
noIdleFilter - Static variable in interface com.xpdustry.claj.common.net.NetListenerFilter
 
normalize(String) - Static method in class com.xpdustry.claj.common.util.Strings
 

O

obfuscate(InetAddress) - Static method in class com.xpdustry.claj.common.util.AddressUtil
Hashes the address then converts it back to an address.
object - Variable in class com.xpdustry.claj.common.packets.ConnectionPayloadPacket
Decoded object received by the client.
obsoleteClient - Enum constant in enum class com.xpdustry.claj.common.status.CloseReason
Incompatible CLaJ client.
obtain() - Method in class com.xpdustry.claj.common.util.Pool
Returns an object from this pool.
obtain(int) - Method in class com.xpdustry.claj.common.util.ByteBufferPool
 
obtain(int, boolean) - Method in class com.xpdustry.claj.common.util.ByteBufferPool
Get a buffer of the given size from free pool, or a new one.
of(int, int, int) - Static method in class com.xpdustry.claj.common.status.ClajVersion
 
of(String) - Static method in class com.xpdustry.claj.common.status.ClajType
 
of(String) - Static method in class com.xpdustry.claj.common.status.ClajVersion
 
offer(T) - Method in class com.xpdustry.claj.common.util.Pool
Same as
invalid reference
#free()
, but returns true if the object has been placed to the pool array.
oldId - Static variable in class com.xpdustry.claj.common.ClajNet
Old CLaJ id.
outdatedClient - Enum constant in enum class com.xpdustry.claj.common.status.CloseReason
Old CLaJ client.
outdatedServer - Enum constant in enum class com.xpdustry.claj.common.status.CloseReason
Old CLaJ server.

P

Packet - Interface in com.xpdustry.claj.common.packets
Base packet of CLaJ protocol.
packetSpamming - Enum constant in enum class com.xpdustry.claj.common.status.MessageType
 
parse(String, int, int) - Static method in class com.xpdustry.claj.common.status.ClajVersion
 
password - Variable in class com.xpdustry.claj.common.packets.RoomConfigPacket
The room password.
password - Variable in class com.xpdustry.claj.common.packets.RoomJoinPacket
Room pin password.
passwordRequired - Enum constant in enum class com.xpdustry.claj.common.status.RejectReason
A password is required to join the room.
peak - Variable in class com.xpdustry.claj.common.util.Pool
The highest number of free objects.
ping - Variable in class com.xpdustry.claj.common.status.ServerState
 
poll() - Method in class com.xpdustry.claj.common.util.Pool
Same as Pool.obtain(), but returns null instead of allocating a new object if the pool is empty.
Pool<T> - Class in com.xpdustry.claj.common.util
Taken from arc-lite.
Pool(int, Prov) - Constructor for class com.xpdustry.claj.common.util.Pool
 
Pool(Prov) - Constructor for class com.xpdustry.claj.common.util.Pool
Creates a pool with a maximum capacity of 2048 objects.
port - Variable in class com.xpdustry.claj.common.status.ServerState
 
prepare(Packet) - Static method in class com.xpdustry.claj.common.net.stream.StreamSender
 
prepare(Packet, boolean) - Static method in class com.xpdustry.claj.common.net.stream.StreamSender
 
prepare(Packet, int, boolean) - Static method in class com.xpdustry.claj.common.net.stream.StreamSender
 
PreparedStream - Class in com.xpdustry.claj.common.net.stream
Class holding pre-serialized stream, ready to send.
PreparedStream(ReusableByteOutStream, byte, int, boolean) - Constructor for class com.xpdustry.claj.common.net.stream.PreparedStream
 
progress() - Method in class com.xpdustry.claj.common.net.stream.StreamBuilder
 
protectedRooms - Variable in class com.xpdustry.claj.common.packets.RoomListPacket
 
protocolVersion - Variable in class com.xpdustry.claj.common.status.ClajVersion
 

R

r(ByteBufferInput) - Method in interface com.xpdustry.claj.common.packets.Packet
 
raw - Variable in class com.xpdustry.claj.common.packets.ConnectionPayloadPacket
Copy of the raw packet received by the server.
RawPacket - Class in com.xpdustry.claj.common.packets
Wrapper for ByteBuffer that implements Packet.
RawPacket() - Constructor for class com.xpdustry.claj.common.packets.RawPacket
 
rawType - Variable in class com.xpdustry.claj.common.status.ClajType
 
read(ByteBufferInput) - Method in class com.xpdustry.claj.common.net.stream.StreamChunk
 
read(ByteBufferInput) - Method in class com.xpdustry.claj.common.net.stream.StreamHead
 
read(ByteBufferInput) - Method in class com.xpdustry.claj.common.packets.ClajMessagePacket
 
read(ByteBufferInput) - Method in class com.xpdustry.claj.common.packets.ClajTextMessagePacket
 
read(ByteBufferInput) - Method in class com.xpdustry.claj.common.packets.ConnectionClosedPacket
 
read(ByteBufferInput) - Method in class com.xpdustry.claj.common.packets.ConnectionJoinPacket
 
read(ByteBufferInput) - Method in class com.xpdustry.claj.common.packets.ConnectionPayloadPacket
 
read(ByteBufferInput) - Method in class com.xpdustry.claj.common.packets.ConnectionWrapperPacket
 
read(ByteBufferInput) - Method in interface com.xpdustry.claj.common.packets.Packet
 
read(ByteBufferInput) - Method in class com.xpdustry.claj.common.packets.RawPacket
 
read(ByteBufferInput) - Method in class com.xpdustry.claj.common.packets.RoomClosedPacket
 
read(ByteBufferInput) - Method in class com.xpdustry.claj.common.packets.RoomConfigPacket
 
read(ByteBufferInput) - Method in class com.xpdustry.claj.common.packets.RoomCreationRequestPacket
 
read(ByteBufferInput) - Method in class com.xpdustry.claj.common.packets.RoomInfoPacket
 
read(ByteBufferInput) - Method in class com.xpdustry.claj.common.packets.RoomJoinDeniedPacket
 
read(ByteBufferInput) - Method in class com.xpdustry.claj.common.packets.RoomJoinPacket
 
read(ByteBufferInput) - Method in class com.xpdustry.claj.common.packets.RoomLinkPacket
 
read(ByteBufferInput) - Method in class com.xpdustry.claj.common.packets.RoomListPacket
 
read(ByteBufferInput) - Method in class com.xpdustry.claj.common.packets.RoomListRequestPacket
 
read(ByteBufferInput) - Method in class com.xpdustry.claj.common.packets.RoomStatePacket
 
read(ByteBufferInput) - Method in class com.xpdustry.claj.common.packets.ServerInfoPacket
 
read(ByteBufferInput) - Static method in class com.xpdustry.claj.common.status.ClajType
 
read(ByteBufferInput, int) - Static method in class com.xpdustry.claj.common.packets.RawPacket
 
read(ConnectionPayloadPacket, ByteBufferInput) - Method in interface com.xpdustry.claj.common.packets.ConnectionPayloadPacket.Serializer
 
read(ByteBuffer) - Method in class com.xpdustry.claj.common.packets.RawPacket
 
read(ByteBuffer) - Static method in class com.xpdustry.claj.common.status.ClajType
 
readAll(ByteBufferInput) - Static method in class com.xpdustry.claj.common.packets.RawPacket
 
readFramework(ByteBuffer) - Method in interface com.xpdustry.claj.common.net.FrameworkSerializer
 
reads - Variable in class com.xpdustry.claj.common.net.stream.StreamBuilder
 
readUTF(ByteBufferInput) - Static method in class com.xpdustry.claj.common.util.Strings
Method that suppress IOException from ByteBufferInput.readUTF().
reason - Variable in class com.xpdustry.claj.common.ClajPackets.Disconnect
 
reason - Variable in class com.xpdustry.claj.common.packets.ConnectionClosedPacket
 
reason - Variable in class com.xpdustry.claj.common.packets.RoomClosedPacket
 
reason - Variable in class com.xpdustry.claj.common.packets.RoomJoinDeniedPacket
 
receive(Connection, Packet) - Method in class com.xpdustry.claj.common.net.ServerReceiver
 
receive(Packet) - Method in class com.xpdustry.claj.common.net.ClientReceiver
 
received(Connection, StreamPacket) - Static method in class com.xpdustry.claj.common.net.stream.StreamReceiver
Server stream builders.
received(Connection, Object) - Method in class com.xpdustry.claj.common.net.ClientReceiver
 
received(Connection, Object) - Method in class com.xpdustry.claj.common.net.DispatchListener
 
received(Connection, Object) - Method in class com.xpdustry.claj.common.net.ServerReceiver
 
received(StreamPacket) - Static method in class com.xpdustry.claj.common.net.stream.StreamReceiver
Client stream builders.
register(Prov) - Static method in class com.xpdustry.claj.common.ClajNet
Registers a new packet type for serialization.
RejectReason - Enum Class in com.xpdustry.claj.common.status
 
release(ByteBuffer) - Method in class com.xpdustry.claj.common.util.ByteBufferPool
Double release protection not handled!
remove() - Method in class com.xpdustry.claj.common.util.FastThreadLocal
 
removeListener(NetListener) - Method in class com.xpdustry.claj.common.net.DispatchListener
 
repeat(char, int) - Static method in class com.xpdustry.claj.common.util.Strings
 
repeat(String, int) - Static method in class com.xpdustry.claj.common.util.Strings
Taken from the String.repeat(int) method of JDK 11
requestState - Variable in class com.xpdustry.claj.common.packets.RoomConfigPacket
Whether the host allows or not the server to request his state.
reset() - Static method in class com.xpdustry.claj.common.net.stream.StreamReceiver
Clears client stream builders.
reset(Connection) - Static method in class com.xpdustry.claj.common.net.stream.StreamReceiver
Removes server stream builders of a connection (or all if null).
reset(T) - Method in class com.xpdustry.claj.common.util.Pool
Called when an object is freed to clear the state of the object for possible later reuse.
rJust(Seq, int) - Static method in class com.xpdustry.claj.common.util.Strings
 
rJust(Seq, int, String) - Static method in class com.xpdustry.claj.common.util.Strings
 
rJust(String, int) - Static method in class com.xpdustry.claj.common.util.Strings
 
rJust(String, int, String) - Static method in class com.xpdustry.claj.common.util.Strings
Justify string to the right.
RoomClosedPacket - Class in com.xpdustry.claj.common.packets
 
RoomClosedPacket() - Constructor for class com.xpdustry.claj.common.packets.RoomClosedPacket
 
roomClosureDenied - Enum constant in enum class com.xpdustry.claj.common.status.MessageType
 
RoomClosureRequestPacket - Class in com.xpdustry.claj.common.packets
 
RoomClosureRequestPacket() - Constructor for class com.xpdustry.claj.common.packets.RoomClosureRequestPacket
 
RoomConfigPacket - Class in com.xpdustry.claj.common.packets
 
RoomConfigPacket() - Constructor for class com.xpdustry.claj.common.packets.RoomConfigPacket
 
RoomCreationRequestPacket - Class in com.xpdustry.claj.common.packets
 
RoomCreationRequestPacket() - Constructor for class com.xpdustry.claj.common.packets.RoomCreationRequestPacket
 
roomFull - Enum constant in enum class com.xpdustry.claj.common.status.RejectReason
Room full.
roomId - Variable in class com.xpdustry.claj.common.packets.RoomInfoPacket
 
roomId - Variable in class com.xpdustry.claj.common.packets.RoomLinkPacket
0 means no room.
RoomInfoDeniedPacket - Class in com.xpdustry.claj.common.packets
 
RoomInfoDeniedPacket() - Constructor for class com.xpdustry.claj.common.packets.RoomInfoDeniedPacket
 
RoomInfoPacket - Class in com.xpdustry.claj.common.packets
 
RoomInfoPacket() - Constructor for class com.xpdustry.claj.common.packets.RoomInfoPacket
 
RoomInfoRequestPacket - Class in com.xpdustry.claj.common.packets
 
RoomInfoRequestPacket() - Constructor for class com.xpdustry.claj.common.packets.RoomInfoRequestPacket
 
RoomJoinAcceptedPacket - Class in com.xpdustry.claj.common.packets
 
RoomJoinAcceptedPacket() - Constructor for class com.xpdustry.claj.common.packets.RoomJoinAcceptedPacket
 
RoomJoinDeniedPacket - Class in com.xpdustry.claj.common.packets
 
RoomJoinDeniedPacket() - Constructor for class com.xpdustry.claj.common.packets.RoomJoinDeniedPacket
 
RoomJoinPacket - Class in com.xpdustry.claj.common.packets
Should be sent by the actual client connection after connected successfully and checked request validity.
RoomJoinPacket() - Constructor for class com.xpdustry.claj.common.packets.RoomJoinPacket
 
RoomJoinRequestPacket - Class in com.xpdustry.claj.common.packets
Only exists for compatibility with older versions.
RoomJoinRequestPacket() - Constructor for class com.xpdustry.claj.common.packets.RoomJoinRequestPacket
 
RoomLinkPacket - Class in com.xpdustry.claj.common.packets
 
RoomLinkPacket() - Constructor for class com.xpdustry.claj.common.packets.RoomLinkPacket
 
RoomListPacket - Class in com.xpdustry.claj.common.packets
Can be a huge packet, should be sent with
invalid reference
StreamSender
instead.
RoomListPacket() - Constructor for class com.xpdustry.claj.common.packets.RoomListPacket
 
RoomListRequestPacket - Class in com.xpdustry.claj.common.packets
 
RoomListRequestPacket() - Constructor for class com.xpdustry.claj.common.packets.RoomListRequestPacket
 
roomNotFound - Enum constant in enum class com.xpdustry.claj.common.status.RejectReason
No room with this id, or id is -1 (which is an invalid id).
RoomStatePacket - Class in com.xpdustry.claj.common.packets
 
RoomStatePacket() - Constructor for class com.xpdustry.claj.common.packets.RoomStatePacket
 
RoomStateRequestPacket - Class in com.xpdustry.claj.common.packets
 
RoomStateRequestPacket() - Constructor for class com.xpdustry.claj.common.packets.RoomStateRequestPacket
 

S

sbuilders - Static variable in class com.xpdustry.claj.common.net.stream.StreamReceiver
 
second - Variable in class com.xpdustry.claj.common.packets.RawPacket
 
send(Connection) - Method in class com.xpdustry.claj.common.net.stream.PreparedStream
 
send(Connection, Packet) - Static method in class com.xpdustry.claj.common.net.stream.StreamSender
 
send(Connection, Packet, boolean) - Static method in class com.xpdustry.claj.common.net.stream.StreamSender
 
send(Connection, Packet, int, boolean) - Static method in class com.xpdustry.claj.common.net.stream.StreamSender
 
serializer - Static variable in class com.xpdustry.claj.common.packets.ConnectionPayloadPacket
Used to notify serializer to read/write the rest.
serverClosed - Enum constant in enum class com.xpdustry.claj.common.status.CloseReason
Server is shutting down.
serverClosing - Enum constant in enum class com.xpdustry.claj.common.status.MessageType
 
serverClosing - Enum constant in enum class com.xpdustry.claj.common.status.RejectReason
The server is closing
serverFull - Enum constant in enum class com.xpdustry.claj.common.status.CloseReason
The server is notifying as full.
serverFull - Enum constant in enum class com.xpdustry.claj.common.status.RejectReason
The server is reporting as full.
ServerInfoPacket - Class in com.xpdustry.claj.common.packets
 
ServerInfoPacket() - Constructor for class com.xpdustry.claj.common.packets.ServerInfoPacket
 
ServerReceiver - Class in com.xpdustry.claj.common.net
A server listener that can delegate packet decoding and reception to the main app.
ServerReceiver(EndPoint) - Constructor for class com.xpdustry.claj.common.net.ServerReceiver
 
ServerReceiver(EndPoint, NetListenerFilter) - Constructor for class com.xpdustry.claj.common.net.ServerReceiver
 
ServerReceiver(EndPoint, NetListenerFilter, Cons) - Constructor for class com.xpdustry.claj.common.net.ServerReceiver
 
ServerState - Class in com.xpdustry.claj.common.status
 
ServerState(String, int, int, int) - Constructor for class com.xpdustry.claj.common.status.ServerState
 
set(T) - Method in class com.xpdustry.claj.common.util.FastThreadLocal
 
setErrorHandler(Cons) - Method in class com.xpdustry.claj.common.net.ClientReceiver
 
setErrorHandler(Cons) - Method in class com.xpdustry.claj.common.net.ServerReceiver
 
setFilter(NetListenerFilter) - Method in class com.xpdustry.claj.common.net.ClientReceiver
 
setFilter(NetListenerFilter) - Method in class com.xpdustry.claj.common.net.ServerReceiver
 
size() - Method in class com.xpdustry.claj.common.net.stream.StreamBuilder
 
size(int) - Method in class com.xpdustry.claj.common.util.ByteBufferPool
 
size(int, boolean) - Method in class com.xpdustry.claj.common.util.ByteBufferPool
 
SIZE - Static variable in class com.xpdustry.claj.common.packets.RoomJoinRequestPacket
Max packet size: roomId + withPassword + password + type
SIZE - Static variable in class com.xpdustry.claj.common.status.ClajType
In bytes.
sJust(Seq, Seq, int) - Static method in class com.xpdustry.claj.common.util.Strings
 
sJust(Seq, Seq, int, String) - Static method in class com.xpdustry.claj.common.util.Strings
 
sJust(String, String, int) - Static method in class com.xpdustry.claj.common.util.Strings
 
sJust(String, String, int, String) - Static method in class com.xpdustry.claj.common.util.Strings
Justify string to the sides.
spam - Enum constant in enum class com.xpdustry.claj.common.status.CloseReason
The host is sending too many packets.
start() - Method in class com.xpdustry.claj.common.net.stream.StreamSender
 
state - Variable in class com.xpdustry.claj.common.packets.RoomStatePacket
 
states - Variable in class com.xpdustry.claj.common.packets.RoomListPacket
 
statingDenied - Enum constant in enum class com.xpdustry.claj.common.status.MessageType
 
stream - Variable in class com.xpdustry.claj.common.net.stream.StreamBuilder
 
stream - Variable in class com.xpdustry.claj.common.util.ByteArrayBufferOutput
 
StreamBuilder - Class in com.xpdustry.claj.common.net.stream
invalid reference
mindustry.net.Streamable.StreamBuilder
.
StreamBuilder(StreamHead) - Constructor for class com.xpdustry.claj.common.net.stream.StreamBuilder
 
StreamChunk - Class in com.xpdustry.claj.common.net.stream
invalid reference
mindustry.net.Packets.StreamChunk
.
StreamChunk() - Constructor for class com.xpdustry.claj.common.net.stream.StreamChunk
 
StreamHead - Class in com.xpdustry.claj.common.net.stream
invalid reference
mindustry.net.Packets.StreamBegin
.
StreamHead() - Constructor for class com.xpdustry.claj.common.net.stream.StreamHead
 
StreamPacket - Interface in com.xpdustry.claj.common.net.stream
 
StreamReceiver - Class in com.xpdustry.claj.common.net.stream
 
StreamReceiver() - Constructor for class com.xpdustry.claj.common.net.stream.StreamReceiver
 
StreamSender - Class in com.xpdustry.claj.common.net.stream
invalid reference
mindustry.net.ArcNetProvider.ArcConnection#sendStream(mindustry.net.Streamable)
.
StreamSender(Connection, InputStream, byte, int, int, boolean) - Constructor for class com.xpdustry.claj.common.net.stream.StreamSender
Stream is directly started.
Strings - Class in com.xpdustry.claj.common.util
 
Strings() - Constructor for class com.xpdustry.claj.common.util.Strings
 
Structs - Class in com.xpdustry.claj.common.util
 
Structs() - Constructor for class com.xpdustry.claj.common.util.Structs
 

T

tableify(Seq, int) - Static method in class com.xpdustry.claj.common.util.Strings
 
tableify(Seq, int, int) - Static method in class com.xpdustry.claj.common.util.Strings
 
tableify(Seq, int, int, Func2) - Static method in class com.xpdustry.claj.common.util.Strings
Create a table with given lines.
Columns number is automatic calculated with the table's width.
tableify(Seq, int, Func2) - Static method in class com.xpdustry.claj.common.util.Strings
 
toJoinPacket() - Method in class com.xpdustry.claj.common.packets.RoomJoinRequestPacket
 
toJson(JsonValue, Writer, JsonWriter.OutputType) - Static method in class com.xpdustry.claj.common.util.Strings
Re-implementation of JsonValue.json(JsonValue, StringBuilder, OutputType), with the ability write directly to a Writer instead of a StringBuilder.
toSentence(Iterable, Func) - Static method in class com.xpdustry.claj.common.util.Strings
Converts a list to a human readable sentence.
toSentence(Iterable, Func, String, String) - Static method in class com.xpdustry.claj.common.util.Strings
Converts a list to a human readable sentence with configurable or and and delimiters.
toSentence(StringBuilder, Iterable, Cons2) - Static method in class com.xpdustry.claj.common.util.Strings
Converts a list to a human readable sentence.
toSentence(StringBuilder, Iterable, Cons2, String, String) - Static method in class com.xpdustry.claj.common.util.Strings
Converts a list to a human readable sentence with configurable or and and delimiters.
toString() - Method in class com.xpdustry.claj.common.status.ClajType
 
toString() - Method in class com.xpdustry.claj.common.status.ClajVersion
 
total - Variable in class com.xpdustry.claj.common.net.stream.StreamBuilder
 
total - Variable in class com.xpdustry.claj.common.net.stream.StreamHead
 
truncate(byte[], int, boolean) - Static method in class com.xpdustry.claj.common.status.ClajType
 
type - Variable in class com.xpdustry.claj.common.net.stream.PreparedStream
 
type - Variable in class com.xpdustry.claj.common.net.stream.StreamBuilder
 
type - Variable in class com.xpdustry.claj.common.net.stream.StreamHead
 
type - Variable in class com.xpdustry.claj.common.net.stream.StreamSender
 
type - Variable in class com.xpdustry.claj.common.packets.RoomCreationRequestPacket
Implementation type.
type - Variable in class com.xpdustry.claj.common.packets.RoomInfoPacket
 
type - Variable in class com.xpdustry.claj.common.packets.RoomJoinPacket
CLaJ Implementation type.
type - Variable in class com.xpdustry.claj.common.packets.RoomListRequestPacket
Implementation type to request the list from.
type - Variable in class com.xpdustry.claj.common.status.ClajType
 
type() - Method in class com.xpdustry.claj.common.status.ClajType
 
typeSize() - Method in class com.xpdustry.claj.common.status.ClajType
 

U

updateBuffer() - Method in class com.xpdustry.claj.common.util.ByteArrayBufferOutput
Will update the backed ByteBuffer if needed.

V

valueOf(String) - Static method in enum class com.xpdustry.claj.common.status.CloseReason
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.xpdustry.claj.common.status.MessageType
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.xpdustry.claj.common.status.RejectReason
Returns the enum constant of this class with the specified name.
values() - Static method in enum class com.xpdustry.claj.common.status.CloseReason
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.common.status.MessageType
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.common.status.RejectReason
Returns an array containing the constants of this enum class, in the order they are declared.
version - Variable in class com.xpdustry.claj.common.packets.RoomCreationRequestPacket
Must be the same as the server's major version to be able to connect.
version - Variable in class com.xpdustry.claj.common.packets.ServerInfoPacket
 
version - Variable in class com.xpdustry.claj.common.status.ServerState
 

W

w(ByteBufferOutput) - Method in interface com.xpdustry.claj.common.packets.Packet
 
with(Prov) - Static method in class com.xpdustry.claj.common.util.FastThreadLocal
 
withPassword - Variable in class com.xpdustry.claj.common.packets.RoomJoinPacket
 
write() - Method in class com.xpdustry.claj.common.status.ClajType
 
write(byte[]) - Method in class com.xpdustry.claj.common.util.ByteArrayBufferOutput
 
write(byte[], int, int) - Method in class com.xpdustry.claj.common.util.ByteArrayBufferOutput
 
write(int) - Method in class com.xpdustry.claj.common.util.ByteArrayBufferOutput
 
write(ByteBufferOutput) - Method in class com.xpdustry.claj.common.net.stream.StreamChunk
 
write(ByteBufferOutput) - Method in class com.xpdustry.claj.common.net.stream.StreamHead
 
write(ByteBufferOutput) - Method in class com.xpdustry.claj.common.packets.ClajMessagePacket
 
write(ByteBufferOutput) - Method in class com.xpdustry.claj.common.packets.ClajTextMessagePacket
 
write(ByteBufferOutput) - Method in class com.xpdustry.claj.common.packets.ConnectionClosedPacket
 
write(ByteBufferOutput) - Method in class com.xpdustry.claj.common.packets.ConnectionJoinPacket
 
write(ByteBufferOutput) - Method in class com.xpdustry.claj.common.packets.ConnectionPayloadPacket
 
write(ByteBufferOutput) - Method in class com.xpdustry.claj.common.packets.ConnectionWrapperPacket
 
write(ByteBufferOutput) - Method in interface com.xpdustry.claj.common.packets.Packet
 
write(ByteBufferOutput) - Method in class com.xpdustry.claj.common.packets.RawPacket
 
write(ByteBufferOutput) - Method in class com.xpdustry.claj.common.packets.RoomClosedPacket
 
write(ByteBufferOutput) - Method in class com.xpdustry.claj.common.packets.RoomConfigPacket
 
write(ByteBufferOutput) - Method in class com.xpdustry.claj.common.packets.RoomCreationRequestPacket
 
write(ByteBufferOutput) - Method in class com.xpdustry.claj.common.packets.RoomInfoPacket
 
write(ByteBufferOutput) - Method in class com.xpdustry.claj.common.packets.RoomJoinDeniedPacket
 
write(ByteBufferOutput) - Method in class com.xpdustry.claj.common.packets.RoomJoinPacket
 
write(ByteBufferOutput) - Method in class com.xpdustry.claj.common.packets.RoomLinkPacket
 
write(ByteBufferOutput) - Method in class com.xpdustry.claj.common.packets.RoomListPacket
 
write(ByteBufferOutput) - Method in class com.xpdustry.claj.common.packets.RoomListRequestPacket
 
write(ByteBufferOutput) - Method in class com.xpdustry.claj.common.packets.RoomStatePacket
 
write(ByteBufferOutput) - Method in class com.xpdustry.claj.common.packets.ServerInfoPacket
 
write(ByteBufferOutput) - Method in class com.xpdustry.claj.common.status.ClajType
 
write(ConnectionPayloadPacket, ByteBufferOutput) - Method in interface com.xpdustry.claj.common.packets.ConnectionPayloadPacket.Serializer
 
write(ByteBuffer) - Method in class com.xpdustry.claj.common.status.ClajType
 
write(ByteBuffer, ByteBufferOutput) - Static method in class com.xpdustry.claj.common.packets.RawPacket
Suppresses src reading.
writeBoolean(boolean) - Method in class com.xpdustry.claj.common.util.ByteArrayBufferOutput
 
writeByte(int) - Method in class com.xpdustry.claj.common.util.ByteArrayBufferOutput
 
writeBytes(String) - Method in class com.xpdustry.claj.common.util.ByteArrayBufferOutput
 
writeChar(int) - Method in class com.xpdustry.claj.common.util.ByteArrayBufferOutput
 
writeChars(String) - Method in class com.xpdustry.claj.common.util.ByteArrayBufferOutput
 
writeDouble(double) - Method in class com.xpdustry.claj.common.util.ByteArrayBufferOutput
 
writeFloat(float) - Method in class com.xpdustry.claj.common.util.ByteArrayBufferOutput
 
writeFramework(ByteBuffer, FrameworkMessage) - Method in interface com.xpdustry.claj.common.net.FrameworkSerializer
 
writeInt(int) - Method in class com.xpdustry.claj.common.util.ByteArrayBufferOutput
 
writeLong(long) - Method in class com.xpdustry.claj.common.util.ByteArrayBufferOutput
 
writeShort(int) - Method in class com.xpdustry.claj.common.util.ByteArrayBufferOutput
 
writeUTF(ByteBufferOutput, String) - Static method in class com.xpdustry.claj.common.util.Strings
Method that suppress IOException from ByteBufferOutput.writeUTF(String).
writeUTF(String) - Method in class com.xpdustry.claj.common.util.ByteArrayBufferOutput
 
written - Variable in class com.xpdustry.claj.common.net.stream.StreamSender
 
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