class ExplicitFilterDefinitionElement extends FilterDefinitionElement
Defines access control for a specific remote destination using a .b32 address, applying the given threshold to limit connection behavior from that destination.
threshold| Constructor and Description |
|---|
ExplicitFilterDefinitionElement(String b32,
Threshold threshold) |
| Modifier and Type | Method and Description |
|---|---|
void | update(Map<Hash,DestTracker> map)Updates the provided map with the hash(es) of remote destinations
mentioned in this element |
fromBase32, getThresholdExplicitFilterDefinitionElement(String b32, Threshold threshold) throws InvalidDefinitionException
b32 - A string with the .b32 representation of the remote destinationthreshold - threshold to apply to that destinationInvalidDefinitionException - if the b32 string is not valid b32public void update(Map<Hash,DestTracker> map)
FilterDefinitionElementupdate in class FilterDefinitionElement