Package-level declarations

Types

Link copied to clipboard
class DefaultGameMessageCounter @JvmOverloads constructor(val clientEventLimit: Int = 50, val userEventLimit: Int = 10) : GameMessageCounter

A default game message counter that follows the normal OldSchool limitations, allowing for up to 10 user events and up to 50 client events, stopping decoding whenever either of the limitations is reached.

Link copied to clipboard

The provider for the default game messages

The default handler for incoming game messages, which will simply log the exceptions and errors, and in the case of errors, propagate them further. For any exceptions, nothing besides logging is done.

Link copied to clipboard

The default tracker for INet addresses, utilizing a concurrent hash map.

Link copied to clipboard
class DefaultInetAddressValidator(val limit: Int = MAX_CONNECTIONS) : InetAddressValidator

The default validation for a max number of concurrent active connections from a specific INet address, limited to 10 by default.

Link copied to clipboard

The default login decoder utilizing a ForkJoinPool to decode the login block.

Link copied to clipboard

The default message queue provider, returning a concurrent linked queue.

Link copied to clipboard

The default session id generator, using a secure random to generate the ids.

Link copied to clipboard

The default stream cipher provider, returning an instance of the ISAAC random stream cipher based on the input seed.