Node

data class Node(var hostName: String, var port: Int, var ssl: Boolean)

Node is a data class that holds information about a node. The properties are mutable so that they can be changed during runtime.

Author

Marcus Cvjeticanin

Since

0.1.0

Parameters

hostName

The host name of the node.

port

The port of the node.

ssl

Whether the node is using SSL.

Constructors

Link copied to clipboard
constructor(hostName: String, port: Int, ssl: Boolean)

Properties

Link copied to clipboard
Link copied to clipboard
var port: Int
Link copied to clipboard