Class PeerData


  • public class PeerData
    extends java.lang.Object
    Root class for a Casper peer info request
    Since:
    0.0.1
    See Also:
    PeerData
    • Constructor Detail

      • PeerData

        public PeerData​(java.lang.String apiVersion,
                        java.util.List<PeerEntry> peers)
      • PeerData

        public PeerData()
    • Method Detail

      • getApiVersion

        public java.lang.String getApiVersion()
        The RPC API version
      • getPeers

        public java.util.List<PeerEntry> getPeers()
        List of @see PeerEntry
      • setApiVersion

        public void setApiVersion​(java.lang.String apiVersion)
        The RPC API version
      • setPeers

        public void setPeers​(java.util.List<PeerEntry> peers)
        List of @see PeerEntry