Class MoneroPeer

java.lang.Object
monero.daemon.model.MoneroPeer

public class MoneroPeer extends Object
Models a peer to the daemon.
  • Constructor Details

    • MoneroPeer

      public MoneroPeer()
  • Method Details

    • getId

      public String getId()
    • setId

      public MoneroPeer setId(String id)
    • getAddress

      public String getAddress()
    • setAddress

      public MoneroPeer setAddress(String address)
    • getHost

      public String getHost()
    • setHost

      public MoneroPeer setHost(String host)
    • getPort

      public Integer getPort()
    • setPort

      public MoneroPeer setPort(Integer port)
    • isOnline

      public Boolean isOnline()
    • setIsOnline

      public MoneroPeer setIsOnline(Boolean isOnline)
    • getLastSeenTimestamp

      public Long getLastSeenTimestamp()
    • setLastSeenTimestamp

      public MoneroPeer setLastSeenTimestamp(Long lastSeenTimestamp)
    • getPruningSeed

      public Integer getPruningSeed()
    • setPruningSeed

      public MoneroPeer setPruningSeed(Integer pruningSeed)
    • getRpcPort

      public Integer getRpcPort()
    • setRpcPort

      public MoneroPeer setRpcPort(Integer rpcPort)
    • getRpcCreditsPerHash

      public BigInteger getRpcCreditsPerHash()
    • setRpcCreditsPerHash

      public MoneroPeer setRpcCreditsPerHash(BigInteger rpcCreditsPerHash)
    • getHash

      public String getHash()
    • setHash

      public void setHash(String hash)
    • getAvgDownload

      public Long getAvgDownload()
    • setAvgDownload

      public void setAvgDownload(Long avgDownload)
    • getAvgUpload

      public Long getAvgUpload()
    • setAvgUpload

      public void setAvgUpload(Long avgUpload)
    • getCurrentDownload

      public Long getCurrentDownload()
    • setCurrentDownload

      public void setCurrentDownload(Long currentDownload)
    • getCurrentUpload

      public Long getCurrentUpload()
    • setCurrentUpload

      public void setCurrentUpload(Long currentUpload)
    • getHeight

      public Long getHeight()
    • setHeight

      public void setHeight(Long height)
    • isIncoming

      public Boolean isIncoming()
    • setIsIncoming

      public void setIsIncoming(Boolean isIncoming)
    • getLiveTime

      public Long getLiveTime()
    • setLiveTime

      public void setLiveTime(Long liveTime)
    • isLocalIp

      public Boolean isLocalIp()
    • setIsLocalIp

      public void setIsLocalIp(Boolean isLocalIp)
    • isLocalHost

      public Boolean isLocalHost()
    • setIsLocalHost

      public void setIsLocalHost(Boolean isLocalHost)
    • getNumReceives

      public Integer getNumReceives()
    • setNumReceives

      public void setNumReceives(Integer numReceives)
    • getNumSends

      public Integer getNumSends()
    • setNumSends

      public void setNumSends(Integer numSends)
    • getReceiveIdleTime

      public Long getReceiveIdleTime()
    • setReceiveIdleTime

      public void setReceiveIdleTime(Long receiveIdleTime)
    • getSendIdleTime

      public Long getSendIdleTime()
    • setSendIdleTime

      public void setSendIdleTime(Long sendIdleTime)
    • getState

      public String getState()
    • setState

      public void setState(String state)
    • getNumSupportFlags

      public Integer getNumSupportFlags()
    • setNumSupportFlags

      public void setNumSupportFlags(Integer numSupportFlags)
    • getType

      public ConnectionType getType()
    • setType

      public void setType(ConnectionType type)
    • toString

      public String toString()
      Overrides:
      toString in class Object