Package net.i2p.i2ptunnel.access
Class FilterFactory
java.lang.Object
net.i2p.i2ptunnel.access.FilterFactory
Factory for incoming connection filters. Only public class in this package.
- Since:
- 0.9.40
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic StatefulConnectionFilter
createFilter
(I2PAppContext context, File definition) Creates an instance of IncomingConnectionFilter based on the definition contained in the given file.
-
Constructor Details
-
FilterFactory
public FilterFactory()
-
-
Method Details
-
createFilter
public static StatefulConnectionFilter createFilter(I2PAppContext context, File definition) throws IOException, InvalidDefinitionException Creates an instance of IncomingConnectionFilter based on the definition contained in the given file.- Parameters:
context
- the context this is running indefinition
- file containing the filter definition- Throws:
IOException
InvalidDefinitionException
-