Message Receiver
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.
Functions
Link copied to clipboard
Sends a candidature for the election.
Link copied to clipboard
Changes the next neighbour of a node.
Link copied to clipboard
Changes the previous neighbour of a node.
Link copied to clipboard
Joins a node to the distributed system.
Link copied to clipboard
Notifies that a node is missing in the distributed system.
Link copied to clipboard
Sends a message to a node.