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 Summary

      Constructors 
      Constructor Description
      PeerData()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      java.lang.String getApiVersion()
      The RPC API version
      java.util.List<PeerEntry> getPeers()
      List of @see PeerEntry
      int hashCode()  
      void setApiVersion​(java.lang.String apiVersion)
      The RPC API version
      void setPeers​(java.util.List<PeerEntry> peers)
      List of @see PeerEntry
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • 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
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object