PeerInfo

data class PeerInfo(val addr: String, val source: PeerSource, val state: PeerStateKind, val runtimeId: String?)

Information about a peer.

Constructors

Link copied to clipboard
constructor(addr: String, source: PeerSource, state: PeerStateKind, runtimeId: String?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

remote address of the peer in the "PROTOCOL/IP:PORT" format.

Link copied to clipboard

runtime id of the peer if active, otherwise null.

Link copied to clipboard

how was the peer discovered.

Link copied to clipboard

state of the peer connection.