ServiceAddress

data class ServiceAddress(val host: String, val port: Int, val interfaceName: String, val qrCodeApi: String? = null)

A simple structure for enumerating address-port-interface triples.

Constructors

Link copied to clipboard
constructor(host: String, port: Int, interfaceName: String, qrCodeApi: String? = null)

Properties

Link copied to clipboard

Address part (IP, hostname etc.) of a service

Link copied to clipboard

Name of the network interface

Link copied to clipboard
val port: Int

Port part of a service

Link copied to clipboard
val qrCodeApi: String? = null

Link to the possible QR code image

Functions

Link copied to clipboard
open override fun toString(): String