Package zombie.core.znet
Class PortMapper
java.lang.Object
zombie.core.znet.PortMapper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
addMapping
(int int1, int int2, String string, String string2, int int3) static boolean
addMapping
(int int1, int int2, String string, String string2, int int3, boolean boolean1) static boolean
discover()
static void
static String
static String
getExternalAddress
(boolean boolean1) static String
static PortMappingEntry
getMapping
(int int1) static boolean
igdFound()
static int
static boolean
removeMapping
(int int1, String string) static void
shutdown()
static void
startup()
-
Constructor Details
-
PortMapper
public PortMapper()
-
-
Method Details
-
startup
public static void startup() -
shutdown
public static void shutdown() -
discover
public static boolean discover() -
igdFound
public static boolean igdFound() -
addMapping
-
addMapping
-
removeMapping
-
fetchMappings
public static void fetchMappings() -
numMappings
public static int numMappings() -
getMapping
-
getGatewayInfo
-
getExternalAddress
-
getExternalAddress
-