Class PeerEntry


  • public class PeerEntry
    extends java.lang.Object
    The node ID and network address of each connected peer.
    Since:
    0.0.1
    • Constructor Detail

      • PeerEntry

        public PeerEntry​(java.lang.String address,
                         java.lang.String nodeId)
      • PeerEntry

        public PeerEntry()
    • Method Detail

      • getAddress

        public java.lang.String getAddress()
        IP:PORT
      • getNodeId

        public java.lang.String getNodeId()
        node ID
      • setAddress

        public void setAddress​(java.lang.String address)
        IP:PORT
      • setNodeId

        public void setNodeId​(java.lang.String nodeId)
        node ID