- generateAgeTweet(Bridge) - Static method in class org.torproject.metrics.bot.microblog.BridgeStatusGenerator
-
Returns a tweet about how long the bridge has been contributing to the Tor
network.
- generateAgeTweet(Relay) - Static method in class org.torproject.metrics.bot.microblog.RelayStatusGenerator
-
Returns a tweet about how long the relay has been contributing to the Tor
network.
- generateAsBandwidthTweet(List<Relay>) - Static method in class org.torproject.metrics.bot.microblog.RelayLocationStatusGenerator
-
Returns a tweet about how much bandwidth relays in a certain AS are
contributing to the Tor network.
- generateBadge() - Method in interface org.torproject.metrics.bot.tor.BaseRelay
-
- generateBadge() - Method in interface org.torproject.metrics.bot.tor.Country
-
- generateBadge() - Method in class org.torproject.metrics.bot.tor.CountryImpl
-
- generateBandwidthTweet(Bridge) - Static method in class org.torproject.metrics.bot.microblog.BridgeStatusGenerator
-
Returns a tweet about how much bandwidth a bridge has been contributing to
the Tor network.
- generateBandwidthTweet(Relay) - Static method in class org.torproject.metrics.bot.microblog.RelayStatusGenerator
-
Returns a tweet about how much bandwidth a relay is contributing to the Tor
network.
- generateCountryBandwidthTweet(List<Relay>) - Static method in class org.torproject.metrics.bot.microblog.RelayLocationStatusGenerator
-
Returns a tweet about how much bandwidth relays in a certain country are
contributing to the Tor network.
- generateLocationTweetText(String, List<Relay>, String) - Static method in class org.torproject.metrics.bot.microblog.RelayLocationStatusGenerator
-
Helper to produce bandwidth contribution tweets for locations.
- generateMapTweet(List<Relay>) - Static method in class org.torproject.metrics.bot.microblog.NetworkStatusGenerator
-
Generates a tweet about the total bandwidth being made available by Tor
relays.
- getAcceptPorts() - Method in interface org.torproject.metrics.bot.tor.ExitPolicySummary
-
- getAccessToken() - Method in class org.torproject.metrics.bot.mastodon.MastodonAccountConfiguration
-
- getAdvertisedBandwidth() - Method in interface org.torproject.metrics.bot.tor.BaseRelay
-
Bandwidth that this relay is willing and capable to provide.
- getAdvertisedBandwidth() - Method in interface org.torproject.metrics.bot.tor.RelayAggregate
-
- getAdvertisedBandwidth() - Method in class org.torproject.metrics.bot.tor.RelayAggregateImpl
-
- getAllegedFamily() - Method in interface org.torproject.metrics.bot.tor.Relay
-
Get a list of relays that are not in an effective, mutual family
relationship with this relay.
- getAsName() - Method in interface org.torproject.metrics.bot.tor.Relay
-
Get the AS name as found by Onionoo in an AS database by resolving the
relay's first onion-routing IP address.
- getAsNumber() - Method in interface org.torproject.metrics.bot.tor.Relay
-
Get the AS number as found by Onionoo in an AS database by resolving
the relay's first onion-routing IP address.
- getBandwidthBurst() - Method in interface org.torproject.metrics.bot.tor.Relay
-
Get the bandwidth that this relay is willing to sustain in very short
intervals.
- getBandwidthRate() - Method in interface org.torproject.metrics.bot.tor.Relay
-
Get the average bandwidth that this relay is willing to sustain over long
periods.
- getChannelName() - Method in class org.torproject.metrics.bot.irc.IrcChannelConfiguration
-
Gets the channel name.
- getCityName() - Method in interface org.torproject.metrics.bot.tor.Relay
-
Get the city name as found by Onionoo in a GeoIP database by resolving
the relay's first onion-routing IP address.
- getConsensusWeight() - Method in interface org.torproject.metrics.bot.tor.Relay
-
Get the weight assigned to this relay by the directory authorities that
clients use in their path selection algorithm.
- getConsensusWeightFraction() - Method in interface org.torproject.metrics.bot.tor.Relay
-
Get the fraction of this relay's consensus weight compared to the sum of
all consensus weights in the network.
- getConsumerKey() - Method in class org.torproject.metrics.bot.twitter.TwitterAccountConfiguration
-
- getConsumerSecret() - Method in class org.torproject.metrics.bot.twitter.TwitterAccountConfiguration
-
- getContact() - Method in interface org.torproject.metrics.bot.tor.Relay
-
Get the contact address of the relay operator as configured by the relay
operator.
- getCountry() - Method in interface org.torproject.metrics.bot.tor.Country
-
- getCountry() - Method in class org.torproject.metrics.bot.tor.CountryImpl
-
- getCountry() - Method in interface org.torproject.metrics.bot.tor.Relay
-
Get the country code as found by Onionoo in a GeoIP database by
resolving the relay's first onion-routing IP address.
- getCountryName() - Method in interface org.torproject.metrics.bot.tor.Country
-
- getCountryName() - Method in class org.torproject.metrics.bot.tor.CountryImpl
-
- getCountryName() - Method in interface org.torproject.metrics.bot.tor.Relay
-
Get the country name as found by Onionoo in a GeoIP database by
resolving the relay's first onion-routing IP address.
- getDirAddress() - Method in interface org.torproject.metrics.bot.tor.Relay
-
Get the IPv4 address and TCP port where the relay accepts directory
connections.
- getEffectiveFamily() - Method in interface org.torproject.metrics.bot.tor.Relay
-
Get a list of relays that are in an effective, mutual family relationship
with this relay.
- getExitAddresses() - Method in interface org.torproject.metrics.bot.tor.Relay
-
Get a list of IPv4 or IPv6 addresses that the relay used to exit to the
Internet in the past 24 hours.
- getExitPolicy() - Method in interface org.torproject.metrics.bot.tor.Relay
-
Get a list of exit-policy lines.
- getExitPolicySummary() - Method in interface org.torproject.metrics.bot.tor.Relay
-
Get a summary version of the relay's exit policy containing a dictionary
with either an "accept" or a "reject" element.
- getExitPolicyV6Summary() - Method in interface org.torproject.metrics.bot.tor.Relay
-
Get a summary version of the relay's IPv6 exit policy containing a
dictionary with either an "accept" or a "reject" element.
- getExitProbability() - Method in interface org.torproject.metrics.bot.tor.Relay
-
Probability of this relay to be selected for the exit position.
- getExitProbability() - Method in interface org.torproject.metrics.bot.tor.RelayAggregate
-
- getExitProbability() - Method in class org.torproject.metrics.bot.tor.RelayAggregateImpl
-
- getFactoid(String) - Method in class org.torproject.metrics.bot.factoids.AutonomousSystemFactoid
-
- getFactoid(String) - Method in class org.torproject.metrics.bot.factoids.CountryFactoid
-
- getFactoid(String) - Method in interface org.torproject.metrics.bot.factoids.Factoid
-
Returns the factoid's response based on a lookup parameter.
- getFactoid(String, String) - Method in class org.torproject.metrics.bot.factoids.FactoidManager
-
Searches the configured factoids for the first that triggers
and passes it the lookup parameter.
- getFactoid(String) - Method in class org.torproject.metrics.bot.factoids.NetworkSizeFactoid
-
- getFactoid(String) - Method in class org.torproject.metrics.bot.factoids.StaticFactoid
-
- getFactoids() - Method in class org.torproject.metrics.bot.factoids.FactoidConfiguration
-
Returns a list of factoids as loaded from the XML configuration.
- getFingerprint() - Method in interface org.torproject.metrics.bot.tor.BaseRelay
-
Get the relay's fingerprint.
- getFirstSeen() - Method in interface org.torproject.metrics.bot.tor.BaseRelay
-
Get the time the relay was first seen in a network status consensus.
- getFlags() - Method in interface org.torproject.metrics.bot.tor.BaseRelay
-
Get the list of flags that the directory authorities assigned to this
relay.
- getFlagStrings() - Method in interface org.torproject.metrics.bot.tor.BaseRelay
-
Get the list of flags that the directory authorities assigned to this
relay.
- getFriendlyName() - Method in class org.torproject.metrics.bot.irc.IrcChannel
-
- getFriendlyName() - Method in class org.torproject.metrics.bot.irc.IrcChannelConfiguration
-
- getFriendlyName() - Method in class org.torproject.metrics.bot.mastodon.MastodonAccount
-
- getFriendlyName() - Method in class org.torproject.metrics.bot.mastodon.MastodonAccountConfiguration
-
- getFriendlyName() - Method in interface org.torproject.metrics.bot.microblog.MicroblogAccount
-
- getFriendlyName() - Method in interface org.torproject.metrics.bot.microblog.MicroblogAccountConfiguration
-
Gets the friendly name for this account.
- getFriendlyName() - Method in class org.torproject.metrics.bot.twitter.TwitterAccount
-
- getFriendlyName() - Method in class org.torproject.metrics.bot.twitter.TwitterAccountConfiguration
-
- getGuardProbability() - Method in interface org.torproject.metrics.bot.tor.Relay
-
Get the Probability of the relay to be selected for the guard position.
- getGuardProbability() - Method in interface org.torproject.metrics.bot.tor.RelayAggregate
-
- getGuardProbability() - Method in class org.torproject.metrics.bot.tor.RelayAggregateImpl
-
- getHostName() - Method in interface org.torproject.metrics.bot.tor.Relay
-
Get the host name as found by Onionoo in a reverse DNS lookup of the
relay IP address.
- getHumanName() - Method in enum org.torproject.metrics.bot.tor.RelayFlag
-
- getImage() - Method in class org.torproject.metrics.bot.microblog.MicroblogStatus
-
- getImage() - Method in enum org.torproject.metrics.bot.tor.RelayFlag
-
Return a pictogram representing the flag.
- getIndirectFamily() - Method in interface org.torproject.metrics.bot.tor.Relay
-
Get a list of relays that are not in an effective, mutual family
relationship with this relay but that can be reached by following
effective, mutual family relationships starting at this relay.
- getInstanceHost() - Method in class org.torproject.metrics.bot.mastodon.MastodonAccountConfiguration
-
- getIrcChannels() - Method in class org.torproject.metrics.bot.Configuration
-
Returns a list of IRC channel configurations that could
be used to instantiate IRC channel objects.
- getIrcClient() - Static method in class org.torproject.metrics.bot.MetricsBot
-
- getIrcNick() - Method in class org.torproject.metrics.bot.Configuration
-
- getIrcNickServPassword() - Method in class org.torproject.metrics.bot.Configuration
-
- getLargeImage() - Method in enum org.torproject.metrics.bot.tor.RelayFlag
-
Return a larger pictogram representing the flag.
- getLastChangedAddressOrPort() - Method in interface org.torproject.metrics.bot.tor.Relay
-
Get the time when the relay last stopped announcing an IPv4 or IPv6 address
or TCP port where it previously accepted onion-routing or directory
connections.
- getLastRestarted() - Method in interface org.torproject.metrics.bot.tor.BaseRelay
-
Get the time the relay was last (re-)started.
- getLastSeen() - Method in interface org.torproject.metrics.bot.tor.BaseRelay
-
Get the time the relay was last seen in a network status consensus.
- getLatitude() - Method in interface org.torproject.metrics.bot.tor.Relay
-
Get the latitude as found by Onionoo in a GeoIP database by resolving
the relay's first onion-routing IP address.
- getLongitude() - Method in interface org.torproject.metrics.bot.tor.Relay
-
Get the longitude as found by Onionoo in a GeoIP database by resolving
the relay's first onion-routing IP address.
- getMastodonAccounts() - Method in class org.torproject.metrics.bot.Configuration
-
Returns a list of Mastodon account configurations that could
be used to instantiate Mastodon account objects.
- getMaxLongness() - Method in exception org.torproject.metrics.bot.microblog.MicroblogStatusTooLongException
-
- getMeasured() - Method in interface org.torproject.metrics.bot.tor.Relay
-
Get whether or not the consensus weight of this relay is based on a
threshold of 3 or more measurements by Tor bandwidth authorities.
- getMiddleProbability() - Method in interface org.torproject.metrics.bot.tor.Relay
-
Get the probability of this relay to be selected for the middle position.
- getMiddleProbability() - Method in interface org.torproject.metrics.bot.tor.RelayAggregate
-
- getMiddleProbability() - Method in class org.torproject.metrics.bot.tor.RelayAggregateImpl
-
- getNetworkTweet() - Method in class org.torproject.metrics.bot.tor.Network
-
Returns a tweet using a random template with a random running relay or
group of running relays.
- getNickname() - Method in interface org.torproject.metrics.bot.tor.BaseRelay
-
Get the relay's nickname.
- getObservedBandwidth() - Method in interface org.torproject.metrics.bot.tor.Relay
-
Get the bandwidth estimate of the capacity this relay can handle.
- getOrAddresses() - Method in interface org.torproject.metrics.bot.tor.BaseRelay
-
Get a list of IPv4 or IPv6 addresses and TCP ports where the relay accepts
onion-routing connections.
- getPlatform() - Method in interface org.torproject.metrics.bot.tor.BaseRelay
-
Get platform and operating system information for the relay.
- getRandomAs() - Method in class org.torproject.metrics.bot.tor.Network
-
Get a random AS number that has at least one relay running in the Tor
network.
- getRandomCountry() - Method in class org.torproject.metrics.bot.tor.Network
-
Get a random 2-letter country code that has at least one relay running in
the Tor network.
- getRandomRunningBridge() - Method in class org.torproject.metrics.bot.tor.Network
-
Get a random relay from the Tor network.
- getRandomRunningRelay() - Method in class org.torproject.metrics.bot.tor.Network
-
Get a random relay from the Tor network.
- getRegionName() - Method in interface org.torproject.metrics.bot.tor.Relay
-
Get the region name as found by Onionoo in a GeoIP database by
resolving the relay's first onion-routing IP address.
- getRejectPorts() - Method in interface org.torproject.metrics.bot.tor.ExitPolicySummary
-
- getRelayCount() - Method in interface org.torproject.metrics.bot.tor.RelayAggregate
-
- getRelayCount() - Method in class org.torproject.metrics.bot.tor.RelayAggregateImpl
-
- getRelayTweet() - Method in class org.torproject.metrics.bot.tor.Network
-
Returns a tweet using a random template with a random running relay or
group of running relays.
- getRunningBridges() - Method in class org.torproject.metrics.bot.tor.Network
-
- getRunningRelays() - Method in class org.torproject.metrics.bot.tor.Network
-
- getRunningRelaysForAs() - Method in class org.torproject.metrics.bot.tor.Network
-
Returns a list of running relay details for a random AS.
- getRunningRelaysForAs(String) - Method in class org.torproject.metrics.bot.tor.Network
-
Returns a list of running relays details for a chosen AS.
- getRunningRelaysForCountry() - Method in class org.torproject.metrics.bot.tor.Network
-
Returns a list of relay details for a random country.
- getRunningRelaysForCountry(String) - Method in class org.torproject.metrics.bot.tor.Network
-
Returns a list of relay details for a chosen country.
- getSingleton() - Static method in class org.torproject.metrics.bot.Configuration
-
- getSingleton() - Static method in class org.torproject.metrics.bot.factoids.FactoidConfiguration
-
Get the singleton FactoidConfiguration object.
- getSingleton() - Static method in class org.torproject.metrics.bot.factoids.FactoidManager
-
- getStatusType() - Method in class org.torproject.metrics.bot.microblog.MicroblogStatus
-
- getStatusTypes() - Method in class org.torproject.metrics.bot.irc.IrcChannelConfiguration
-
- getStatusTypes() - Method in class org.torproject.metrics.bot.mastodon.MastodonAccountConfiguration
-
- getStatusTypes() - Method in class org.torproject.metrics.bot.microblog.BaseMicroblogAccountImpl
-
- getStatusTypes() - Method in interface org.torproject.metrics.bot.microblog.MicroblogAccount
-
Gets the list of desirable status update types for this account.
- getStatusTypes() - Method in interface org.torproject.metrics.bot.microblog.MicroblogAccountConfiguration
-
Gets the list of desirable status update types for this account.
- getStatusTypes() - Method in class org.torproject.metrics.bot.twitter.TwitterAccountConfiguration
-
- getText() - Method in class org.torproject.metrics.bot.microblog.MicroblogStatus
-
- getToken() - Method in class org.torproject.metrics.bot.twitter.TwitterAccountConfiguration
-
- getTokenSecret() - Method in class org.torproject.metrics.bot.twitter.TwitterAccountConfiguration
-
- getTorNetwork() - Static method in class org.torproject.metrics.bot.MetricsBot
-
- getTransports() - Method in interface org.torproject.metrics.bot.tor.Bridge
-
Get a list of of (pluggable) transport names supported by this bridge.
- getTwitterAccounts() - Method in class org.torproject.metrics.bot.Configuration
-
Returns a list of Twitter account configurations that could
be used to instantiate Twitter account objects.