Class Node


  • public class Node
    extends Object
    The Node class constructs an object which contains all necessary information and methods for a server or machine in a network
    Author:
    Leonardo Bell, Philip Grenon
    • Constructor Detail

      • Node

        public Node​(int nodeID,
                    String ip,
                    String label)
    • Method Detail

      • getLabel

        public String getLabel()
      • getIPAddress

        public String getIPAddress()
      • setLabel

        public void setLabel​(String label)
      • setIPAddress

        public void setIPAddress​(String ip)
      • setNodeID

        public void setNodeID​(int nodeID)
      • getNodeID

        public int getNodeID()