NetworkState

data class NetworkState(networkId: NetworkId, identity: IdentityId, myNick: String?, latency: Int, networkName: String, currentServer: String, connected: Boolean, connectionState: ConnectionState, ircUsers: Map<String, IrcUser>, ircChannels: Map<String, IrcChannel>, supports: Map<String, String?>, caps: Map<String, String?>, capsEnabled: Set<String>, skipCaps: Set<String>, serverList: List<NetworkServer>, useRandomServer: Boolean, perform: List<String>, useAutoIdentify: Boolean, autoIdentifyService: String, autoIdentifyPassword: String, useSasl: Boolean, saslAccount: String, saslPassword: String, useAutoReconnect: Boolean, autoReconnectInterval: UInt, autoReconnectRetries: UShort, unlimitedReconnectRetries: Boolean, rejoinChannels: Boolean, useCustomMessageRate: Boolean, messageRateBurstSize: UInt, messageRateDelay: UInt, unlimitedMessageRate: Boolean, codecForServer: String, codecForEncoding: String, codecForDecoding: String)

Functions

Link copied to clipboard
fun capAvailable(capability: String): Boolean
Link copied to clipboard
fun capEnabled(capability: String): Boolean
Link copied to clipboard
fun capValue(capability: String): String
Link copied to clipboard
fun caseMapper(): IrcCaseMapper
Link copied to clipboard
fun channelModeType(mode: Char): ChannelModeType?
Link copied to clipboard
fun identifier(): String
Link copied to clipboard
fun ircChannel(name: String): IrcChannel?
Link copied to clipboard
fun ircUser(nickName: String): IrcUser?
Link copied to clipboard
fun isMe(user: IrcUser): Boolean
Link copied to clipboard
fun isSaslSupportLikely(mechanism: String): Boolean
Link copied to clipboard
fun me(): IrcUser?
Link copied to clipboard
fun supports(key: String): Boolean
Link copied to clipboard
fun supportValue(key: String): String?

Properties

Link copied to clipboard
val autoIdentifyPassword: String
Link copied to clipboard
val autoIdentifyService: String
Link copied to clipboard
val autoReconnectInterval: UInt
Link copied to clipboard
val autoReconnectRetries: UShort
Link copied to clipboard
val caps: Map<String, String?>
Link copied to clipboard
val capsEnabled: Set<String>
Link copied to clipboard
val channelModes: Map<ChannelModeType, Set<Char>>
Link copied to clipboard
val codecForDecoding: String
Link copied to clipboard
val codecForEncoding: String
Link copied to clipboard
val codecForServer: String
Link copied to clipboard
val connected: Boolean = false
Link copied to clipboard
val connectionState: ConnectionState
Link copied to clipboard
val currentServer: String
Link copied to clipboard
val identity: IdentityId
Link copied to clipboard
val ircChannels: Map<String, IrcChannel>
Link copied to clipboard
val ircUsers: Map<String, IrcUser>
Link copied to clipboard
val latency: Int = 0
Link copied to clipboard
val messageRateBurstSize: UInt
Link copied to clipboard
val messageRateDelay: UInt
Link copied to clipboard
val myNick: String?
Link copied to clipboard
val networkId: NetworkId
Link copied to clipboard
val networkName: String
Link copied to clipboard
val perform: List<String>
Link copied to clipboard
val prefixes: List<Char>
Link copied to clipboard
val prefixModes: List<Char>
Link copied to clipboard
val rejoinChannels: Boolean = false
Link copied to clipboard
val saslAccount: String
Link copied to clipboard
val saslPassword: String
Link copied to clipboard
val serverList: List<NetworkServer>
Link copied to clipboard
val skipCaps: Set<String>
Link copied to clipboard
val supports: Map<String, String?>
Link copied to clipboard
val unlimitedMessageRate: Boolean = false
Link copied to clipboard
val unlimitedReconnectRetries: Boolean = false
Link copied to clipboard
val useAutoIdentify: Boolean = false
Link copied to clipboard
val useAutoReconnect: Boolean = false
Link copied to clipboard
val useCustomMessageRate: Boolean = false
Link copied to clipboard
val useRandomServer: Boolean = false
Link copied to clipboard
val useSasl: Boolean = false