ControlReplayProtector

class ControlReplayProtector(windowMillis: Long, maxEntries: Int, clock: Clock = SystemClock)

Constructors

Link copied to clipboard
constructor(windowMillis: Long, maxEntries: Int, clock: Clock = SystemClock)

Functions

Link copied to clipboard
fun tryRegister(senderId: String, type: ControlMessageType, nonce: ByteArray): Boolean