public interface BaseRelay
Modifier and Type | Method and Description |
---|---|
java.awt.image.RenderedImage |
generateBadge() |
java.lang.Long |
getAdvertisedBandwidth()
Bandwidth that this relay is willing and capable to provide.
|
java.lang.String |
getFingerprint()
Get the relay's fingerprint.
|
java.time.ZonedDateTime |
getFirstSeen()
Get the time the relay was first seen in a network status consensus.
|
java.util.List<RelayFlag> |
getFlags()
Get the list of flags that the directory authorities assigned to this
relay.
|
java.util.List<java.lang.String> |
getFlagStrings()
Get the list of flags that the directory authorities assigned to this
relay.
|
java.time.ZonedDateTime |
getLastRestarted()
Get the time the relay was last (re-)started.
|
java.time.ZonedDateTime |
getLastSeen()
Get the time the relay was last seen in a network status consensus.
|
java.lang.String |
getNickname()
Get the relay's nickname.
|
java.util.List<java.lang.String> |
getOrAddresses()
Get a list of IPv4 or IPv6 addresses and TCP ports where the relay accepts
onion-routing connections.
|
java.lang.String |
getPlatform()
Get platform and operating system information for the relay.
|
java.lang.String |
humanString(java.lang.Boolean withAtlasUrl)
Returns a human readable string with interesting information about the
relay.
|
java.lang.Boolean |
isRunning()
Get whether or not the relay is currently running in the latest network
status consensus.
|
java.lang.String getNickname()
java.lang.String getFingerprint()
java.util.List<java.lang.String> getOrAddresses()
java.time.ZonedDateTime getLastSeen()
java.time.ZonedDateTime getFirstSeen()
java.lang.Boolean isRunning()
java.util.List<java.lang.String> getFlagStrings()
java.util.List<RelayFlag> getFlags()
getFlagStrings()
java.time.ZonedDateTime getLastRestarted()
java.lang.Long getAdvertisedBandwidth()
java.lang.String getPlatform()
RelayImpl.isRecommendedVersion()
java.awt.image.RenderedImage generateBadge()
java.lang.String humanString(java.lang.Boolean withAtlasUrl)
withAtlasUrl
- true if an atlas.torproject.org URL should be included, otherwise
false