Package net.i2p.i2ptunnel.access
Class FilterDefinition
- java.lang.Object
-
- net.i2p.i2ptunnel.access.FilterDefinition
-
class FilterDefinition extends Object
Definition of an access filter. This POJO contains the parsed representation from the filter definition file.- Since:
- 0.9.40
-
-
Constructor Summary
Constructors Constructor Description FilterDefinition(Threshold defaultThreshold, FilterDefinitionElement[] elements, Recorder[] recorders)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) Threshold
getDefaultThreshold()
(package private) FilterDefinitionElement[]
getElements()
(package private) int
getPurgeSeconds()
(package private) Recorder[]
getRecorders()
-
-
-
Constructor Detail
-
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 Detail
-
getDefaultThreshold
Threshold getDefaultThreshold()
-
getElements
FilterDefinitionElement[] getElements()
-
getRecorders
Recorder[] getRecorders()
-
getPurgeSeconds
int getPurgeSeconds()
-
-