ProtocolOutbox

class ProtocolOutbox(capacity: Int = DEFAULT_CAPACITY)(source)

FIFO queue of ProtocolOutput owned by a SyncEucProtocol. The default capacity is 256; overflow throws instead of dropping protocol outputs. Not thread-safe: the session layer serializes all calls into a protocol.

Constructors

Link copied to clipboard
constructor(capacity: Int = DEFAULT_CAPACITY)

Properties

Link copied to clipboard
val size: Int

Functions

Link copied to clipboard
fun clear()
Link copied to clipboard
Link copied to clipboard
fun push(output: ProtocolOutput)