Network

open class Network(session: Session?, state: NetworkState) : StatefulSyncableObject<NetworkState> , NetworkStub

Functions

Link copied to clipboard
open override fun acknowledgeCap(capability: String)
Link copied to clipboard
open override fun addCap(capability: String, value: String)
Link copied to clipboard
open override fun addIrcChannel(channel: String)
Link copied to clipboard
open override fun addIrcUser(hostmask: String)
Link copied to clipboard
open override fun addSupport(param: String, value: String)
Link copied to clipboard
fun autoIdentifyPassword(): String
Link copied to clipboard
fun autoIdentifyService(): String
Link copied to clipboard
fun autoReconnectInterval(): UInt
Link copied to clipboard
fun autoReconnectRetries(): UShort
Link copied to clipboard
fun capAvailable(capability: String): Boolean
Link copied to clipboard
fun capEnabled(capability: String): Boolean
Link copied to clipboard
fun caps(): Map<String, String?>
Link copied to clipboard
fun capsEnabled(): Set<String>
Link copied to clipboard
fun capValue(capability: String): String
Link copied to clipboard
fun caseMapper(): IrcCaseMapper
Link copied to clipboard
fun channelModes(): Map<ChannelModeType, Set<Char>>
Link copied to clipboard
fun channelModeType(mode: Char): ChannelModeType?
Link copied to clipboard
fun channels(): Set<String>
Link copied to clipboard
open override fun clearCaps()
Link copied to clipboard
fun codecForDecoding(): String
Link copied to clipboard
fun codecForEncoding(): String
Link copied to clipboard
fun codecForServer(): String
Link copied to clipboard
fun connectionState(): ConnectionState
Link copied to clipboard
fun currentServer(): String
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun flow(): Flow<NetworkState>
Link copied to clipboard
open override fun fromVariantMap(properties: QVariantMap)
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun identity(): IdentityId
Link copied to clipboard
fun ircChannel(name: String): IrcChannel?
Link copied to clipboard
fun ircChannelCount(): Int
Link copied to clipboard
fun ircChannels(): Collection<IrcChannel>
Link copied to clipboard
fun ircUser(nickName: String): IrcUser?
Link copied to clipboard
fun ircUserCount(): Int
Link copied to clipboard
fun ircUserNickChanged(old: String, new: String)
Link copied to clipboard
fun ircUsers(): Collection<IrcUser>
Link copied to clipboard
fun isConnected(): Boolean
Link copied to clipboard
fun isMe(user: IrcUser): Boolean
Link copied to clipboard
fun isSaslSupportLikely(mechanism: String): Boolean
Link copied to clipboard
fun latency(): Int
Link copied to clipboard
fun me(): IrcUser?
Link copied to clipboard
fun messageRateBurstSize(): UInt
Link copied to clipboard
fun messageRateDelay(): UInt
Link copied to clipboard
fun myNick(): String?
Link copied to clipboard
fun networkId(): NetworkId
Link copied to clipboard
fun networkInfo(): NetworkInfo
Link copied to clipboard
fun networkName(): String
Link copied to clipboard
fun newIrcChannel(name: String, properties: QVariantMap = emptyMap(), index: Int? = null): IrcChannel
Link copied to clipboard
fun newIrcUser(hostMask: String, properties: QVariantMap = emptyMap(), index: Int? = null): IrcUser
Link copied to clipboard
fun nicks(): Set<String>
Link copied to clipboard
fun perform(): List<String>
Link copied to clipboard
fun prefixes(): List<Char>
Link copied to clipboard
fun prefixModes(): List<Char>
Link copied to clipboard
fun rejoinChannels(): Boolean
Link copied to clipboard
open override fun removeCap(capability: String)
Link copied to clipboard
fun removeIrcChannel(channel: IrcChannel)
Link copied to clipboard
fun removeIrcUser(user: IrcUser)
Link copied to clipboard
open override fun removeSupport(param: String)
Link copied to clipboard
open fun requestConnect()
Link copied to clipboard
open fun requestDisconnect()
Link copied to clipboard
open fun requestSetNetworkInfo(info: NetworkInfo)
Link copied to clipboard
open fun requestUpdate(properties: QVariantMap = toVariantMap())

Replaces all properties of the object with the content of the "properties" parameter. This parameter is in network representation.

Link copied to clipboard
open fun rpc(target: ProtocolSide, function: String, vararg arg: QVariant_)
Link copied to clipboard
fun saslAccount(): String
Link copied to clipboard
fun saslPassword(): String
Link copied to clipboard
fun serverList(): List<NetworkServer>
Link copied to clipboard
open override fun setAutoIdentifyPassword(autoIdentifyPassword: String)
Link copied to clipboard
open override fun setAutoIdentifyService(autoIdentifyService: String)
Link copied to clipboard
open override fun setAutoReconnectInterval(autoReconnectInterval: UInt)
Link copied to clipboard
open override fun setAutoReconnectRetries(autoReconnectRetries: UShort)
Link copied to clipboard
open override fun setCodecForDecoding(codecForDecoding: ByteBuffer)
Link copied to clipboard
open override fun setCodecForEncoding(codecForEncoding: ByteBuffer)
Link copied to clipboard
open override fun setCodecForServer(codecForServer: ByteBuffer)
Link copied to clipboard
open override fun setConnected(isConnected: Boolean)
Link copied to clipboard
open override fun setConnectionState(connectionState: Int)
Link copied to clipboard
open override fun setCurrentServer(currentServer: String)
Link copied to clipboard
open override fun setIdentity(identityId: IdentityId)
Link copied to clipboard
open override fun setLatency(latency: Int)
Link copied to clipboard
open override fun setMessageRateBurstSize(messageRateBurstSize: UInt)
Link copied to clipboard
open override fun setMessageRateDelay(messageRateDelay: UInt)
Link copied to clipboard
open override fun setMyNick(myNick: String)
Link copied to clipboard
open override fun setNetworkName(networkName: String)
Link copied to clipboard
open override fun setPerform(perform: QStringList)
Link copied to clipboard
open override fun setRejoinChannels(rejoinChannels: Boolean)
Link copied to clipboard
open override fun setSaslAccount(saslAccount: String)
Link copied to clipboard
open override fun setSaslPassword(saslPassword: String)
Link copied to clipboard
open override fun setServerList(serverList: QVariantList)
Link copied to clipboard
open override fun setSkipCaps(skipCaps: QStringList)
Link copied to clipboard
open override fun setUnlimitedMessageRate(unlimitedMessageRate: Boolean)
Link copied to clipboard
open override fun setUnlimitedReconnectRetries(unlimitedReconnectRetries: Boolean)
Link copied to clipboard
open override fun setUseAutoIdentify(useAutoIdentify: Boolean)
Link copied to clipboard
open override fun setUseAutoReconnect(useAutoReconnect: Boolean)
Link copied to clipboard
open override fun setUseCustomMessageRate(useCustomMessageRate: Boolean)
Link copied to clipboard
open override fun setUseRandomServer(useRandomServer: Boolean)
Link copied to clipboard
open override fun setUseSasl(useSasl: Boolean)
Link copied to clipboard
fun skipCaps(): Set<String>
Link copied to clipboard
open override fun state(): NetworkState
Link copied to clipboard
fun supports(): Map<String, String?>
fun supports(key: String): Boolean
Link copied to clipboard
fun supportValue(key: String): String?
Link copied to clipboard
open fun sync(target: ProtocolSide, function: String, vararg arg: QVariant_)
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open override fun toVariantMap(): Map<String, QVariant<out Any?>>
Link copied to clipboard
fun unlimitedMessageRate(): Boolean
Link copied to clipboard
fun unlimitedReconnectRetries(): Boolean
Link copied to clipboard
open fun update(properties: QVariantMap)

Replaces all properties of the object with the content of the "properties" parameter. This parameter is in network representation.

Link copied to clipboard
fun useAutoIdentify(): Boolean
Link copied to clipboard
fun useAutoReconnect(): Boolean
Link copied to clipboard
fun useCustomMessageRate(): Boolean
Link copied to clipboard
fun useRandomServer(): Boolean
Link copied to clipboard
fun useSasl(): Boolean

Properties

Link copied to clipboard
open override val className: String
Link copied to clipboard
override var initialized: Boolean
Link copied to clipboard
override var objectName: String
Link copied to clipboard
open override var session: Session?