Package org.torproject.descriptor
Interface ExitList
-
- All Superinterfaces:
Descriptor
,java.io.Serializable
public interface ExitList extends Descriptor
Contains an exit list containing the IP addresses of relays that the exit list service TorDNSEL found when exiting through them.- Since:
- 1.0.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ExitList.Entry
Exit list entry containing results from a single exit scan.
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
EOL
End-of-line character expected in exit lists.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getDownloadedMillis()
Return the time in milliseconds since the epoch when this descriptor was downloaded.java.util.Set<ExitList.Entry>
getEntries()
Return the unordered set of exit scan results.-
Methods inherited from interface org.torproject.descriptor.Descriptor
getAnnotations, getDescriptorFile, getRawDescriptorBytes, getRawDescriptorLength, getUnrecognizedLines
-
-
-
-
Field Detail
-
EOL
static final java.lang.String EOL
End-of-line character expected in exit lists.- Since:
- 1.0.0
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDownloadedMillis
long getDownloadedMillis()
Return the time in milliseconds since the epoch when this descriptor was downloaded.- Since:
- 1.0.0
-
getEntries
java.util.Set<ExitList.Entry> getEntries()
Return the unordered set of exit scan results.- Since:
- 1.1.0
-
-