Package zombie.core.znet
Class PortMapper
java.lang.Object
zombie.core.znet.PortMapper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanaddMapping(int int1, int int2, String string, String string2, int int3) static booleanaddMapping(int int1, int int2, String string, String string2, int int3, boolean boolean1) static booleandiscover()static voidstatic Stringstatic StringgetExternalAddress(boolean boolean1) static Stringstatic PortMappingEntrygetMapping(int int1) static booleanigdFound()static intstatic booleanremoveMapping(int int1, String string) static voidshutdown()static voidstartup()
-
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
-