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.
Constructor that initializes all neighbours to the same address.
Constructor that initializes all neighbours to different addresses.
The leader in the distributed system.
The left neighbour in the distributed system.
The next-next neighbour in the distributed system.
The right neighbour in the distributed system.
Returns a string representation of the DSNeighbours object.