Package org.torproject.descriptor
Interface ExitList.Entry
-
- All Superinterfaces:
java.io.Serializable
- Enclosing interface:
- ExitList
public static interface ExitList.Entry extends java.io.Serializable
Exit list entry containing results from a single exit scan.- Since:
- 1.1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Long>
getExitAddresses()
Return the IP addresses that were determined in the scan with map keys being IPv4 addresses in dotted-quad format and map values being scan times in milliseconds since the epoch.java.lang.String
getFingerprint()
Return the scanned relay's fingerprint, which is a SHA-1 digest of the relays's public identity key, encoded as 40 upper-case hexadecimal characters.long
getLastStatusMillis()
Return the time in milliseconds since the epoch when the network status that this scan was based on was published.long
getPublishedMillis()
Return the time in milliseconds since the epoch when the scanned relay's last known descriptor was published.
-
-
-
Method Detail
-
getFingerprint
java.lang.String getFingerprint()
Return the scanned relay's fingerprint, which is a SHA-1 digest of the relays's public identity key, encoded as 40 upper-case hexadecimal characters.- Since:
- 1.1.0
-
getPublishedMillis
long getPublishedMillis()
Return the time in milliseconds since the epoch when the scanned relay's last known descriptor was published.- Since:
- 1.1.0
-
getLastStatusMillis
long getLastStatusMillis()
Return the time in milliseconds since the epoch when the network status that this scan was based on was published.- Since:
- 1.1.0
-
getExitAddresses
java.util.Map<java.lang.String,java.lang.Long> getExitAddresses()
Return the IP addresses that were determined in the scan with map keys being IPv4 addresses in dotted-quad format and map values being scan times in milliseconds since the epoch.- Since:
- 1.1.0
-
-