Package-level declarations

Types

Link copied to clipboard
class Address @JvmOverloads constructor(var hostname: String = "127.0.0.1", var port: Int = 2010) : Comparable<Address> , Serializable

This class represents an Address with a hostname and a port. It implements Comparable and Serializable interfaces.

Link copied to clipboard

This class represents a set of neighbours in a distributed system. It implements the Serializable interface to allow it to be sent over the network.

Link copied to clipboard
interface NodeCommands : Remote

This interface defines the commands that a node in a distributed system can execute. It extends the Remote interface to allow these commands to be called from a remote machine.