ProtocolSession

class ProtocolSession(val protocol: SyncEucProtocol, timerCapacity: Int = 32)(source)

Synchronous protocol session; the caller serializes inputs and supplies monotonic time.

Constructors

Link copied to clipboard
constructor(protocol: SyncEucProtocol, timerCapacity: Int = 32)

Properties

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

Functions

Link copied to clipboard
fun advance(now: Long)
Link copied to clipboard
fun afterInput(now: Long)
Link copied to clipboard
fun close()
Link copied to clipboard
fun onNotification(bytes: ByteArray, now: Long)
Link copied to clipboard
Link copied to clipboard
fun reset(now: Long)