ReleaseReceived

class ReleaseReceived(val peer: Endpoint, val alternativeAddresses: List<String>, val holdOff: Duration?, val diagnostic: String?) : EndpointEvent(source)

The peer sent a Release (RFC 8323 §5.5): the connection takes no new requests and closes once the requests in progress are answered. Clients do not reconnect to peer for holdOff. The alternativeAddresses are reported, not followed: a connection there would not inherit the security properties of this one (§10.1), so following them is the application's decision.

Constructors

Link copied to clipboard
constructor(peer: Endpoint, alternativeAddresses: List<String>, holdOff: Duration?, diagnostic: String?)

Properties

Link copied to clipboard
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