RemoteLimits

data class RemoteLimits(val frameBytes: Int = 24 * 1024, val messageBytes: Int = 8 * 1024 * 1024, val valueDepth: Int = 64, val collectionEntries: Int = 65536, val treeNodes: Int = 8192, val pendingBytes: Int = 16 * 1024 * 1024, val assemblyMillis: Long = 10000, val valueEntries: Int = minOf(messageBytes, 262144), val reconstructionMillis: Long = 1000, val hudSessions: Int = 16)(source)

Hard per-connection admission bounds, negotiated by taking each endpoint's minimum. Byte limits include encoded headers; values are checked before incoming allocation.

Constructors

Link copied to clipboard
constructor(frameBytes: Int = 24 * 1024, messageBytes: Int = 8 * 1024 * 1024, valueDepth: Int = 64, collectionEntries: Int = 65536, treeNodes: Int = 8192, pendingBytes: Int = 16 * 1024 * 1024, assemblyMillis: Long = 10000, valueEntries: Int = minOf(messageBytes, 262144), reconstructionMillis: Long = 1000, hudSessions: Int = 16)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns limits no larger than either endpoint advertised.