CsmReceived

class CsmReceived(val peer: Endpoint, val maxMessageSize: Long, val blockWiseTransfer: Boolean) : EndpointEvent(source)

The peer sent a CSM (RFC 8323 §5.3). The values are the settings in force after it, since CSM options are cumulative: its Max-Message-Size, and whether it announced Block-Wise-Transfer.

Constructors

Link copied to clipboard
constructor(peer: Endpoint, maxMessageSize: Long, blockWiseTransfer: Boolean)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val peer: Endpoint

The peer the event concerns.

Functions

Link copied to clipboard
open override fun toString(): String