Package net.i2p.i2ptunnel.access
Class ExplicitFilterDefinitionElement
java.lang.Object
net.i2p.i2ptunnel.access.FilterDefinitionElement
net.i2p.i2ptunnel.access.ExplicitFilterDefinitionElement
A filter definition element that includes a single, explicitly defined
remote destination
- Since:
- 0.9.40
-
Field Summary
Fields inherited from class net.i2p.i2ptunnel.access.FilterDefinitionElement
threshold
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
update
(Map<Hash, DestTracker> map) Updates the provided map with the hash(es) of remote destinations mentioned in this elementMethods inherited from class net.i2p.i2ptunnel.access.FilterDefinitionElement
fromBase32, getThreshold
-
Constructor Details
-
ExplicitFilterDefinitionElement
ExplicitFilterDefinitionElement(String b32, Threshold threshold) throws InvalidDefinitionException - Parameters:
b32
- A string with the .b32 representation of the remote destinationthreshold
- threshold to apply to that destination- Throws:
InvalidDefinitionException
- if the b32 string is not valid b32
-
-
Method Details
-
update
Description copied from class:FilterDefinitionElement
Updates the provided map with the hash(es) of remote destinations mentioned in this element- Specified by:
update
in classFilterDefinitionElement
-