Package monero.daemon.model
Class MoneroPeer
java.lang.Object
monero.daemon.model.MoneroPeer
Models a peer to the daemon.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetHash()
getHost()
getId()
getPort()
getState()
getType()
isOnline()
setAddress
(String address) void
setAvgDownload
(Long avgDownload) void
setAvgUpload
(Long avgUpload) void
setCurrentDownload
(Long currentDownload) void
setCurrentUpload
(Long currentUpload) void
void
void
setIsIncoming
(Boolean isIncoming) void
setIsLocalHost
(Boolean isLocalHost) void
setIsLocalIp
(Boolean isLocalIp) setIsOnline
(Boolean isOnline) setLastSeenTimestamp
(Long lastSeenTimestamp) void
setLiveTime
(Long liveTime) void
setNumReceives
(Integer numReceives) void
setNumSends
(Integer numSends) void
setNumSupportFlags
(Integer numSupportFlags) setPruningSeed
(Integer pruningSeed) void
setReceiveIdleTime
(Long receiveIdleTime) setRpcCreditsPerHash
(BigInteger rpcCreditsPerHash) setRpcPort
(Integer rpcPort) void
setSendIdleTime
(Long sendIdleTime) void
void
setType
(ConnectionType type) toString()
-
Constructor Details
-
MoneroPeer
public MoneroPeer()
-
-
Method Details
-
getId
-
setId
-
getAddress
-
setAddress
-
getHost
-
setHost
-
getPort
-
setPort
-
isOnline
-
setIsOnline
-
getLastSeenTimestamp
-
setLastSeenTimestamp
-
getPruningSeed
-
setPruningSeed
-
getRpcPort
-
setRpcPort
-
getRpcCreditsPerHash
-
setRpcCreditsPerHash
-
getHash
-
setHash
-
getAvgDownload
-
setAvgDownload
-
getAvgUpload
-
setAvgUpload
-
getCurrentDownload
-
setCurrentDownload
-
getCurrentUpload
-
setCurrentUpload
-
getHeight
-
setHeight
-
isIncoming
-
setIsIncoming
-
getLiveTime
-
setLiveTime
-
isLocalIp
-
setIsLocalIp
-
isLocalHost
-
setIsLocalHost
-
getNumReceives
-
setNumReceives
-
getNumSends
-
setNumSends
-
getReceiveIdleTime
-
setReceiveIdleTime
-
getSendIdleTime
-
setSendIdleTime
-
getState
-
setState
-
getNumSupportFlags
-
setNumSupportFlags
-
getType
-
setType
-
toString
-