Class IpSets
java.lang.Object
org.eblocker.server.common.network.unix.IpSets
-
Constructor Summary
ConstructorsConstructorDescriptionIpSets(String ipSetCheckSupportScript, String ipsetRestoreScript, ScriptRunner scriptRunner) -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateIpSet(IpSetConfig ipSetConfig) voidbooleanvoidupdateIpSet(IpSetConfig ipSetConfig, Set<String> entries)
-
Constructor Details
-
IpSets
@Inject public IpSets(String ipSetCheckSupportScript, String ipsetRestoreScript, ScriptRunner scriptRunner)
-
-
Method Details
-
initialize
public void initialize() -
isSupportedByOperatingSystem
public boolean isSupportedByOperatingSystem() -
createIpSet
- Throws:
IOException
-
updateIpSet
- Throws:
IOException
-