ChannelStore

interface ChannelStore<T : Any, C : Channel<T>, Self : ChannelStore<T, C, Self>> : Map<String, C>, Any

Fields

Name Description
open current: C?
open currentAliases: Sequence<String>

Methods

setCurrent

abstract fun setCurrent(alias: String): Self

Parameters

Name Description
alias: String

ReturnValue

Name Description
Self

setCurrent

abstract fun setCurrent(channel: C): Self

Parameters

Name Description
channel: C

ReturnValue

Name Description
Self

findByTerm

abstract fun findByTerm(streamTerm: Term): Sequence<C>

Parameters

Name Description
streamTerm: Term

ReturnValue

Name Description
Sequence<C>

aliasesOf

abstract fun aliasesOf(channel: C): Sequence<String>

Parameters

Name Description
channel: C

ReturnValue

Name Description
Sequence<String>

plus

abstract operator fun plus(others: Map<String, C>): Self

Parameters

Name Description
others: Map<String, C>

ReturnValue

Name Description
Self

plus

open operator fun plus(other: Pair<String, C>): Self

Parameters

Name Description
other: Pair<String, C>

ReturnValue

Name Description
Self

plus

open operator fun plus(others: Iterable<Pair<String, C>>): Self

Parameters

Name Description
others: Iterable<Pair<String, C>>

ReturnValue

Name Description
Self

plus

open operator fun plus(others: Sequence><Pair<String, C>>): Self

Parameters

Name Description
others: Sequence><Pair<String, C>>

ReturnValue

Name Description
Self

plus

open fun plus(first: Pair<String, C>, vararg others: Pair<String, C>): Self

Parameters

Name Description
first: Pair<String, C>
vararg others: Pair<String, C>

ReturnValue

Name Description
Self

minus

open operator fun minus(other: String): Self

Parameters

Name Description
other: String

ReturnValue

Name Description
Self

minus

open operator fun minus(others: Iterable<String>): Self

Parameters

Name Description
others: Iterable<String>

ReturnValue

Name Description
Self

minus

abstract operator fun minus(others: Sequence<String>): Self

Parameters

Name Description
others: Sequence<String>

ReturnValue

Name Description
Self

minus

open fun minus(other: String, vararg others: String): Self

Parameters

Name Description
other: String
vararg others: String

ReturnValue

Name Description
Self

close

open fun close(channel: C): Self

Parameters

Name Description
channel: C

ReturnValue

Name Description
Self

CompanionObject

ChannelStore

interface ChannelStore<T : Any, C : Channel<T>, Self : ChannelStore<T, C, Self>> : Map<String, C>, Any

Fields

Name Description
const CURRENT: String