NodeIdentity

data class NodeIdentity(val service: String, val node: String, val address: String?, val host: String, val bindHost: String)

Who this node is: the service it belongs to, its node id and the address of its internal port, null while the port is not bound yet when the system chooses it (wow.internal.port=0): the node then learns it as host and the bound port (ServiceNode.bind).

bindHost is the interface the internal server binds: wow.internal.host when set (0.0.0.0 or :: for every interface), else the host the node advertises to its members, that of wow.node.address or host, so the unauthenticated internal port is not open on every interface by default.

Constructors

Link copied to clipboard
constructor(service: String, node: String, address: String?, host: String, bindHost: String)

Types

Link copied to clipboard

Properties

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

Functions

Link copied to clipboard
fun addressAt(port: Int): String

The address of the internal port bound at port: address when configured, else host and port (NodeAddress.of: an IPv6 literal in brackets).