Package filius.software.nat
Class NetworkAddressTranslationTable
java.lang.Object
filius.software.nat.NetworkAddressTranslationTable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddStatic(int port, int protocol, InetAddress lanAddress) intfindPort(InetAddress lanAddress) booleanhasConnection(InetAddress lanAddress) voidprint()voidvoidsetNatMethod(NatMethod method) voidsetStaticNATTable(Map<PortProtocolPair, NatEntry> staticNATTable)
-
Constructor Details
-
NetworkAddressTranslationTable
public NetworkAddressTranslationTable()
-
-
Method Details
-
getStaticNATTable
-
getDynamicNATTable
-
setStaticNATTable
-
resetStaticNATTable
public void resetStaticNATTable() -
addStatic
-
getNatMethod
-
setNatMethod
-
find
-
hasConnection
-
findPort
-
print
public void print()
-