SelectorRegistry

Registry holding registered selectors.

Functions

Link copied to clipboard
operator fun contains(selectorKey: String): Boolean

Checks if a selector has been registered for the given key.

Link copied to clipboard
operator fun get(selectorKey: String): ISelector?

Gets the selector instance associated with the given key.

Link copied to clipboard
open operator override fun iterator(): Iterator<Pair<String, ISelector>>
Link copied to clipboard
fun register(selectorKey: String, selector: ISelector)

Registers the given selector with the given key or throws an exception, if there was a selector or load selector registered for the given key.

Link copied to clipboard
fun tryRegister(selectorKey: String, selector: ISelector): Boolean

Tries to register the given selector with the given key.

Inherited functions

Link copied to clipboard
open fun forEach(p0: Consumer<in Pair<String, ISelector>>)
Link copied to clipboard