Package-level declarations

Types

Link copied to clipboard
class Js5ChannelHandler(networkService: NetworkService<*>) : SimpleChannelInboundHandler<IncomingJs5Message>

A channel handler for the JS5 connections

Link copied to clipboard
class Js5Client(val ctx: ChannelHandlerContext)

The JS5 client is responsible for keeping track of all the requests and state of a connected client.

Link copied to clipboard
class Js5Configuration(val blockSizeInBytes: Int = 512, val flushThresholdInBytes: Int = 10240, val flushThresholdInRequests: Int = 10, val priorityRatio: Int = 3, val prefetchTransferThresholdInBytes: Int = 8192, val missingGroupBehaviour: Js5Configuration.Js5MissingGroupBehaviour = Js5MissingGroupBehaviour.DROP_REQUEST)

The configuration for the JS5 service per client basis.

Link copied to clipboard
fun interface Js5GroupProvider

The group provider interface for JS5.

Link copied to clipboard
class Js5MessageDecoder(val networkService: NetworkService<*>) : ByteToMessageDecoder

A message decoder for JS5 packets.

Link copied to clipboard

A message encoder for JS5 requests.

Link copied to clipboard
class Js5Service(configuration: Js5Configuration, provider: Js5GroupProvider) : Runnable

A single-threaded JS5 service implementation used to fairly feed all connected clients, with a priority on those in the logged in state.