Contacts

data class Contacts(var client: Client, val knownBundles: MutableMap<String, ContactBundle> = mutableMapOf(), val hasIntroduced: MutableMap<String, Boolean> = mutableMapOf())

Constructors

Link copied to clipboard
constructor(client: Client, knownBundles: MutableMap<String, ContactBundle> = mutableMapOf(), hasIntroduced: MutableMap<String, Boolean> = mutableMapOf())

Functions

Link copied to clipboard
fun find(peerAddress: String): ContactBundle?
Link copied to clipboard
fun has(peerAddress: String): Boolean
Link copied to clipboard
fun needsIntroduction(peerAddress: String): Boolean

Properties

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