public class IpTables extends Object
Constructor and Description |
---|
IpTables() |
Modifier and Type | Method and Description |
---|---|
static void |
blockPort(int port) |
static void |
unblockAllPorts() |
static void |
unblockPort(int port) |
public static void blockPort(int port) throws IOException, InterruptedException
IOException
InterruptedException
public static void unblockPort(int port) throws IOException, InterruptedException
IOException
InterruptedException
public static void unblockAllPorts() throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.