Package-level declarations

Types

Link copied to clipboard
class CommunicationHub(node: Node?)

This class manages the communication between nodes in a distributed system. It provides methods to get the RMI proxy of a node and to set the current neighbours of a node.

Link copied to clipboard
class ConsoleHandler(myNode: Node) : Runnable

This class handles console input and output for a node in a distributed system. It implements the Runnable interface to allow it to be run in a separate thread.

Link copied to clipboard

This class handles the receiving of messages for a node in a distributed system. It implements the NodeCommands interface to define the commands that a node can execute.

Link copied to clipboard
class Node(args: Array<String>) : Runnable
Link copied to clipboard
enum State : Enum<State>

This enum represents the state of a Node in a distributed system.