Skip navigation links
A B C E F G H I M N O R S T U V 

A

addFactoid(Factoid) - Method in class org.torproject.metrics.bot.factoids.FactoidManager
 
addFactoids(List<Factoid>) - Method in class org.torproject.metrics.bot.factoids.FactoidManager
 
AutonomousSystemFactoid - Class in org.torproject.metrics.bot.factoids
 
AutonomousSystemFactoid() - Constructor for class org.torproject.metrics.bot.factoids.AutonomousSystemFactoid
 

B

BaseMicroblogAccountImpl - Class in org.torproject.metrics.bot.microblog
 
BaseMicroblogAccountImpl(MicroblogAccountConfiguration) - Constructor for class org.torproject.metrics.bot.microblog.BaseMicroblogAccountImpl
 
BaseRelay - Interface in org.torproject.metrics.bot.tor
 
Bridge - Interface in org.torproject.metrics.bot.tor
 
BridgeStatusGenerator - Class in org.torproject.metrics.bot.microblog
 
BridgeStatusGenerator() - Constructor for class org.torproject.metrics.bot.microblog.BridgeStatusGenerator
 

C

Configuration - Class in org.torproject.metrics.bot
metrics-bot's configuration is loaded from an XML file in the home directory of the user running metrics-bot.
Configuration() - Constructor for class org.torproject.metrics.bot.Configuration
Create a new configuration object.
Country - Interface in org.torproject.metrics.bot.tor
 
CountryFactoid - Class in org.torproject.metrics.bot.factoids
 
CountryFactoid() - Constructor for class org.torproject.metrics.bot.factoids.CountryFactoid
 
CountryImpl - Class in org.torproject.metrics.bot.tor
 
CountryImpl(List<Relay>) - Constructor for class org.torproject.metrics.bot.tor.CountryImpl
 

E

error(String) - Static method in class org.torproject.metrics.bot.MetricsBot
A wrapper for MetricsBot.microblog(MicroblogStatus) that also prints to the console.
ExitPolicySummary - Interface in org.torproject.metrics.bot.tor
 

F

Factoid - Interface in org.torproject.metrics.bot.factoids
Generates a response to an interactive query when a trigger word is used.
FactoidConfiguration - Class in org.torproject.metrics.bot.factoids
Contains the configuration for factoids as loaded from the XML configuration.
FactoidManager - Class in org.torproject.metrics.bot.factoids
 
FactoidManager() - Constructor for class org.torproject.metrics.bot.factoids.FactoidManager
 
formatAge(Temporal) - Static method in class org.torproject.metrics.bot.microblog.MicroblogUtils
Takes a Temporal and calculates the time since then, and returns an English-speaking human readable representation.
formatBandwidth(Long) - Static method in class org.torproject.metrics.bot.microblog.MicroblogUtils
Returns a human-readable representation of a bandwidth.

G

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.

H

hasIPv4Listener() - Method in interface org.torproject.metrics.bot.tor.Bridge
 
hasIPv6Listener() - Method in interface org.torproject.metrics.bot.tor.Bridge
 
humanString(Boolean) - Method in interface org.torproject.metrics.bot.tor.BaseRelay
Returns a human readable string with interesting information about the relay.

I

IrcChannel - Class in org.torproject.metrics.bot.irc
Microblogging interface to an IRC channel.
IrcChannel(IrcChannelConfiguration) - Constructor for class org.torproject.metrics.bot.irc.IrcChannel
 
IrcChannelConfiguration - Class in org.torproject.metrics.bot.irc
Representation of the XML configuration for a single IRC channel.
IrcChannelConfiguration(String, List<StatusType>, String) - Constructor for class org.torproject.metrics.bot.irc.IrcChannelConfiguration
 
IrcListener - Class in org.torproject.metrics.bot.irc
Handlers for IRC interactive functionality.
IrcListener() - Constructor for class org.torproject.metrics.bot.irc.IrcListener
 
isHibernating() - Method in interface org.torproject.metrics.bot.tor.Relay
Get whether or not this relay indicated that it is hibernating in its last known server descriptor.
isRecommendedVersion() - Method in interface org.torproject.metrics.bot.tor.Relay
Get whether or not the Tor software version of this relay is recommended by the directory authorities.
isRunning() - Method in interface org.torproject.metrics.bot.tor.BaseRelay
Get whether or not the relay is currently running in the latest network status consensus.
isTriggered(String) - Method in class org.torproject.metrics.bot.factoids.AutonomousSystemFactoid
 
isTriggered(String) - Method in class org.torproject.metrics.bot.factoids.CountryFactoid
 
isTriggered(String) - Method in interface org.torproject.metrics.bot.factoids.Factoid
Checks if a word a trigger word for this factoid.
isTriggered(String) - Method in class org.torproject.metrics.bot.factoids.NetworkSizeFactoid
 
isTriggered(String) - Method in class org.torproject.metrics.bot.factoids.StaticFactoid
 

M

main(String[]) - Static method in class org.torproject.metrics.bot.MetricsBot
The main method for the metrics-bot application runs through the following steps: Initialise network data source (Onionoo on the backend) Initialise the microblogging account objects Initialise IRC client, authenticate and join channels Start periodic timers
MastodonAccount - Class in org.torproject.metrics.bot.mastodon
Microblogging interface to a Mastodon account.
MastodonAccount(MastodonAccountConfiguration) - Constructor for class org.torproject.metrics.bot.mastodon.MastodonAccount
Creates a new Mastodon account instance using instance and OAuth credentials as specified in the configuration.
MastodonAccountConfiguration - Class in org.torproject.metrics.bot.mastodon
 
MastodonAccountConfiguration(String, List<StatusType>, String, String) - Constructor for class org.torproject.metrics.bot.mastodon.MastodonAccountConfiguration
 
MetricsBot - Class in org.torproject.metrics.bot
The MetricsBot application.
MetricsBot() - Constructor for class org.torproject.metrics.bot.MetricsBot
 
microblog(MicroblogStatus) - Static method in class org.torproject.metrics.bot.MetricsBot
Microblog a status message to all configured accounts accepting the status' type.
MicroblogAccount - Interface in org.torproject.metrics.bot.microblog
 
MicroblogAccountConfiguration - Interface in org.torproject.metrics.bot.microblog
 
MicroblogStatus - Class in org.torproject.metrics.bot.microblog
A generated Microblogging status update.
MicroblogStatus(String, RenderedImage, StatusType) - Constructor for class org.torproject.metrics.bot.microblog.MicroblogStatus
 
MicroblogStatusTooLongException - Exception in org.torproject.metrics.bot.microblog
 
MicroblogStatusTooLongException(int) - Constructor for exception org.torproject.metrics.bot.microblog.MicroblogStatusTooLongException
 
MicroblogUpdateFailedException - Exception in org.torproject.metrics.bot.microblog
 
MicroblogUpdateFailedException() - Constructor for exception org.torproject.metrics.bot.microblog.MicroblogUpdateFailedException
 
MicroblogUtils - Class in org.torproject.metrics.bot.microblog
Utility functions useful for formatting Tweets.
MicroblogUtils() - Constructor for class org.torproject.metrics.bot.microblog.MicroblogUtils
 

N

Network - Class in org.torproject.metrics.bot.tor
A representation of the Tor network to query relay and bridge relay details.
Network() - Constructor for class org.torproject.metrics.bot.tor.Network
 
NetworkSizeFactoid - Class in org.torproject.metrics.bot.factoids
 
NetworkSizeFactoid() - Constructor for class org.torproject.metrics.bot.factoids.NetworkSizeFactoid
 
NetworkStatusGenerator - Class in org.torproject.metrics.bot.microblog
 
NetworkStatusGenerator() - Constructor for class org.torproject.metrics.bot.microblog.NetworkStatusGenerator
 

O

onChannelMessage(ChannelMessageEvent) - Method in class org.torproject.metrics.bot.irc.IrcListener
Handles events generated when a message is received in a channel.
OnionooMissingInformationException - Exception in org.torproject.metrics.bot.tor
Thrown if information was missing from a details or summary object that was required, most likely because Onionoo did not have the information available.
OnionooMissingInformationException() - Constructor for exception org.torproject.metrics.bot.tor.OnionooMissingInformationException
 
OnionooNotUpdatedException - Exception in org.torproject.metrics.bot.tor
 
OnionooNotUpdatedException() - Constructor for exception org.torproject.metrics.bot.tor.OnionooNotUpdatedException
 
org.torproject.metrics.bot - package org.torproject.metrics.bot
Microblogging and instant messaging bot for information about Tor relays and bridges.
org.torproject.metrics.bot.factoids - package org.torproject.metrics.bot.factoids
Factoids for interactive components.
org.torproject.metrics.bot.irc - package org.torproject.metrics.bot.irc
IRC Component for metrics-bot.
org.torproject.metrics.bot.mastodon - package org.torproject.metrics.bot.mastodon
Mastodon Component for metrics-bot.
org.torproject.metrics.bot.microblog - package org.torproject.metrics.bot.microblog
Generic microblogging interfaces and utilities.
org.torproject.metrics.bot.tor - package org.torproject.metrics.bot.tor
This package contains classes representing Tor network concepts (relays, bridges, flags, etc.).
org.torproject.metrics.bot.twitter - package org.torproject.metrics.bot.twitter
Twitter Component for metrics-bot.

R

Relay - Interface in org.torproject.metrics.bot.tor
 
RelayAggregate - Interface in org.torproject.metrics.bot.tor
 
RelayAggregateImpl - Class in org.torproject.metrics.bot.tor
 
RelayAggregateImpl() - Constructor for class org.torproject.metrics.bot.tor.RelayAggregateImpl
 
RelayFlag - Enum in org.torproject.metrics.bot.tor
 
RelayLocationStatusGenerator - Class in org.torproject.metrics.bot.microblog
Tweet generator functions for location (Country or AS) specific tweets.
RelayLocationStatusGenerator() - Constructor for class org.torproject.metrics.bot.microblog.RelayLocationStatusGenerator
 
relays - Variable in class org.torproject.metrics.bot.tor.RelayAggregateImpl
 
RelayStatusGenerator - Class in org.torproject.metrics.bot.microblog
Tweet generator functions for relay specific tweets.
RelayStatusGenerator() - Constructor for class org.torproject.metrics.bot.microblog.RelayStatusGenerator
 

S

size() - Method in class org.torproject.metrics.bot.factoids.FactoidManager
 
StaticFactoid - Class in org.torproject.metrics.bot.factoids
 
StaticFactoid(List<String>, String) - Constructor for class org.torproject.metrics.bot.factoids.StaticFactoid
 
StatusType - Enum in org.torproject.metrics.bot.microblog
 

T

toMap() - Method in interface org.torproject.metrics.bot.tor.ExitPolicySummary
 
toSimpleMap() - Method in interface org.torproject.metrics.bot.tor.ExitPolicySummary
 
toString() - Method in class org.torproject.metrics.bot.irc.IrcChannel
 
toString() - Method in class org.torproject.metrics.bot.irc.IrcChannelConfiguration
 
toString() - Method in class org.torproject.metrics.bot.mastodon.MastodonAccountConfiguration
 
toString() - Method in class org.torproject.metrics.bot.microblog.MicroblogStatus
 
toString() - Method in class org.torproject.metrics.bot.twitter.TwitterAccountConfiguration
 
TwitterAccount - Class in org.torproject.metrics.bot.twitter
Microblogging interface to a Twitter account.
TwitterAccount(TwitterAccountConfiguration) - Constructor for class org.torproject.metrics.bot.twitter.TwitterAccount
Creates a new Twitter account instance using OAuth credentials as specified in the configuration.
TwitterAccountConfiguration - Class in org.torproject.metrics.bot.twitter
 
TwitterAccountConfiguration(String, List<StatusType>, String, String, String, String) - Constructor for class org.torproject.metrics.bot.twitter.TwitterAccountConfiguration
 

U

update() - Method in class org.torproject.metrics.bot.tor.Network
Fetch and cache the latest details document from Onionoo containing all currently running relays and bridges.
updateStatus(String, RenderedImage) - Method in class org.torproject.metrics.bot.irc.IrcChannel
 
updateStatus(String, RenderedImage) - Method in class org.torproject.metrics.bot.mastodon.MastodonAccount
 
updateStatus(MicroblogStatus) - Method in class org.torproject.metrics.bot.microblog.BaseMicroblogAccountImpl
A helper function to allow updating the status using a MicroblogStatus object.
updateStatus(String, RenderedImage) - Method in class org.torproject.metrics.bot.microblog.BaseMicroblogAccountImpl
 
updateStatus(String, RenderedImage) - Method in interface org.torproject.metrics.bot.microblog.MicroblogAccount
Updates the status for the microblogging account.
updateStatus(MicroblogStatus) - Method in interface org.torproject.metrics.bot.microblog.MicroblogAccount
Conditionally updates the status for the microblogging account.
updateStatus(String, RenderedImage) - Method in class org.torproject.metrics.bot.twitter.TwitterAccount
 

V

valueOf(String) - Static method in enum org.torproject.metrics.bot.microblog.StatusType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.torproject.metrics.bot.tor.RelayFlag
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.torproject.metrics.bot.microblog.StatusType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.torproject.metrics.bot.tor.RelayFlag
Returns an array containing the constants of this enum type, in the order they are declared.
A B C E F G H I M N O R S T U V 
Skip navigation links
© 2018 The Tor Project