ServerConfigurationDataSourceImpl

A data source for server configuration, including host and port information.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun get(): ServerConfigurationDataModel
Link copied to clipboard
private fun getHost(): String

Returns the host address of the device as a String. If the device has multiple network interfaces, the first one that is not a loopback address and is a site local address is returned. If there is no such address, the DEFAULT_HOST address is returned.