Package | Description |
---|---|
org.torproject.metricsbot |
Microblogging and instant messaging bot for information about Tor relays and
bridges.
|
Modifier and Type | Method and Description |
---|---|
RelayImpl |
TorNetwork.getRandomRunningRelay()
Get a random relay from the Tor network.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<RelayImpl> |
Onionoo.getRelayDetails()
Fetch a list of all known relays.
|
java.util.List<RelayImpl> |
TorNetwork.getRunningRelays() |
java.util.List<RelayImpl> |
TorNetwork.getRunningRelaysForAs()
Returns a list of running relay details for a random AS.
|
java.util.List<RelayImpl> |
TorNetwork.getRunningRelaysForAs(java.lang.String as) |
java.util.List<RelayImpl> |
TorNetwork.getRunningRelaysForCountry()
Returns a list of relay details for a random country.
|
java.util.List<RelayImpl> |
TorNetwork.getRunningRelaysForCountry(java.lang.String country) |
Modifier and Type | Method and Description |
---|---|
static MicroblogStatus |
RelayTweetGenerator.generateAgeTweet(RelayImpl relay)
Returns a tweet about how long the relay has been contributing to the Tor
network.
|
static MicroblogStatus |
RelayTweetGenerator.generateBandwidthTweet(RelayImpl relay)
Returns a tweet about how much bandwidth a relay is contributing to the Tor
network.
|
Modifier and Type | Method and Description |
---|---|
static MicroblogStatus |
RelayLocationTweetGenerator.generateAsBandwidthTweet(java.util.List<RelayImpl> relays)
Returns a tweet about how much bandwidth relays in a certain AS are
contributing to the Tor network.
|
static MicroblogStatus |
RelayLocationTweetGenerator.generateCountryBandwidthTweet(java.util.List<RelayImpl> relays)
Returns a tweet about how much bandwidth relays in a certain country are
contributing to the Tor network.
|
static java.lang.String |
RelayLocationTweetGenerator.generateLocationTweetText(java.lang.String location,
java.util.List<RelayImpl> relays,
java.lang.String searchQuery)
Helper to produce bandwidth contribution tweets for locations.
|
static java.awt.image.RenderedImage |
XPlanet.generateMap(java.util.List<RelayImpl> relays) |
static MicroblogStatus |
NetworkTweetGenerator.generateMapTweet(java.util.List<RelayImpl> relays) |
static java.util.List<java.lang.String> |
XPlanet.generateMarkers(java.util.List<RelayImpl> relays) |