Class HealthMessage

    • Constructor Detail

      • HealthMessage

        public HealthMessage()
        Default Constructor
    • Method Detail

      • getEntries

        public List<HealthMessage.Entry> getEntries()
        gets the entries list
        Returns:
        List The List containing Entries
      • getSrcID

        public PeerID getSrcID()
        gets the src id
        Returns:
        Peerid The sender's peer id
      • setSrcID

        public void setSrcID​(PeerID id)
        sets the unique id
        Parameters:
        id - The id
      • toString

        public String toString()
        returns the document string representation of this object
        Overrides:
        toString in class Object
        Returns:
        String representation of the of this message type