Package net.i2p.i2ptunnel.access
Class FilterDefinition
java.lang.Object
net.i2p.i2ptunnel.access.FilterDefinition
Definition of an access filter.
This POJO contains the parsed representation from the filter definition file.
- Since:
- 0.9.40
-
Constructor Summary
ConstructorDescriptionFilterDefinition
(Threshold defaultThreshold, FilterDefinitionElement[] elements, Recorder[] recorders) -
Method Summary
Modifier and TypeMethodDescription(package private) Threshold
(package private) FilterDefinitionElement[]
(package private) int
(package private) Recorder[]
-
Constructor Details
-
FilterDefinition
FilterDefinition(Threshold defaultThreshold, FilterDefinitionElement[] elements, Recorder[] recorders) - Parameters:
defaultThreshold
- threshold to apply to unknown remote destinationselements
- the elements defined in the filter definition, if anyrecorders
- the recorders defined in the filter definition, if any
-
-
Method Details
-
getDefaultThreshold
Threshold getDefaultThreshold() -
getElements
FilterDefinitionElement[] getElements() -
getRecorders
Recorder[] getRecorders() -
getPurgeSeconds
int getPurgeSeconds()
-