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
IOExceptionInterruptedExceptionpublic static void unblockPort(int port)
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic static void unblockAllPorts()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.