Package convex.peer

Class ServerInformation

java.lang.Object
convex.peer.ServerInformation

public class ServerInformation extends Object
Utility class to extract and store server information samples
  • Method Details

    • create

      public static ServerInformation create(Server server)
    • load

      protected void load(Server server, ConnectionManager manager)
    • getPeerKey

      public AccountKey getPeerKey()
    • getHostname

      public String getHostname()
    • getConnectionCount

      public int getConnectionCount()
    • getTrustedConnectionCount

      public int getTrustedConnectionCount()
    • isSynced

      public boolean isSynced()
    • isJoined

      public boolean isJoined()
    • getNetworkID

      public Hash getNetworkID()
    • getConsensusPoint

      public long getConsensusPoint()
    • getStateHash

      public Hash getStateHash()
    • getBeliefHash

      public Hash getBeliefHash()
    • getBlockCount

      public long getBlockCount()