ObserverRemoved

class ObserverRemoved(val peer: Endpoint, val path: String, val reason: EndpointEvent.ObserverRemoved.Reason, val detail: String? = null) : EndpointEvent(source)

A client was removed from the observers of path; reason says why, a bounded set fit for counting, and detail, when there is one, adds what a log needs, such as the exception of a failed notification.

Constructors

Link copied to clipboard
constructor(peer: Endpoint, path: String, reason: EndpointEvent.ObserverRemoved.Reason, detail: String? = null)

Types

Link copied to clipboard

Why an observer was removed. New reasons may be added before 1.0; use an else branch.

Properties

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

The peer the event concerns.

Link copied to clipboard

Functions

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