Package | Description |
---|---|
org.torproject.metrics.bot |
Microblogging and instant messaging bot for information about Tor relays and
bridges.
|
org.torproject.metrics.bot.microblog |
Generic microblogging interfaces and utilities.
|
org.torproject.metrics.bot.tor |
This package contains classes representing Tor network concepts (relays,
bridges, flags, etc.).
|
Modifier and Type | Method and Description |
---|---|
static void |
MetricsBot.microblog(MicroblogStatus status)
Microblog a status message to all configured accounts accepting the
status' type.
|
Modifier and Type | Method and Description |
---|---|
static MicroblogStatus |
BridgeStatusGenerator.generateAgeTweet(Bridge bridge)
Returns a tweet about how long the bridge has been contributing to the Tor
network.
|
static MicroblogStatus |
RelayStatusGenerator.generateAgeTweet(Relay relay)
Returns a tweet about how long the relay has been contributing to the Tor
network.
|
static MicroblogStatus |
RelayLocationStatusGenerator.generateAsBandwidthTweet(java.util.List<Relay> relays)
Returns a tweet about how much bandwidth relays in a certain AS are
contributing to the Tor network.
|
static MicroblogStatus |
BridgeStatusGenerator.generateBandwidthTweet(Bridge bridge)
Returns a tweet about how much bandwidth a bridge has been contributing to
the Tor network.
|
static MicroblogStatus |
RelayStatusGenerator.generateBandwidthTweet(Relay relay)
Returns a tweet about how much bandwidth a relay is contributing to the Tor
network.
|
static MicroblogStatus |
RelayLocationStatusGenerator.generateCountryBandwidthTweet(java.util.List<Relay> relays)
Returns a tweet about how much bandwidth relays in a certain country are
contributing to the Tor network.
|
static MicroblogStatus |
NetworkStatusGenerator.generateMapTweet(java.util.List<Relay> relays)
Generates a tweet about the total bandwidth being made available by Tor
relays.
|
Modifier and Type | Method and Description |
---|---|
void |
BaseMicroblogAccountImpl.updateStatus(MicroblogStatus status)
A helper function to allow updating the status using a
MicroblogStatus object. |
void |
MicroblogAccount.updateStatus(MicroblogStatus status)
Conditionally updates the status for the microblogging account.
|
Modifier and Type | Method and Description |
---|---|
MicroblogStatus |
Network.getNetworkTweet()
Returns a tweet using a random template with a random running relay or
group of running relays.
|
MicroblogStatus |
Network.getRelayTweet()
Returns a tweet using a random template with a random running relay or
group of running relays.
|