Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open class Observer(event: TorEvent, tag: String?, executor: OnEvent.Executor?, onEvent: OnEvent<String>) : Event.Observer<String, TorEvent>

Model to be registered with a Processor for being notified via OnEvent invocation with TorEvent data.

Link copied to clipboard
Link copied to clipboard
interface Processor

Base interface for implementations that process TorEvent.

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

Properties

Link copied to clipboard

Functions

Link copied to clipboard

Creates a new observer for subscribing to its events.

Creates a new observer with the provided tag for subscribing to its events.

fun observer(tag: String?, executor: OnEvent.Executor?, onEvent: OnEvent<String>): TorEvent.Observer

Creates a new observer with the provided tag and executor for subscribing to its events.