public class NatMapping extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static NatMapping |
createMapping(long localIsdAs,
DatagramChannel channel,
List<InetSocketAddress> borderRouters) |
InetAddress |
getExternalIP()
Determine the network interface and external IP used for this AS.
|
InetSocketAddress |
getMappedAddress(Path path) |
InetSocketAddress |
getMappedAddressFromBR(Path path) |
void |
touch(InetSocketAddress borderRouterAddress) |
public void touch(InetSocketAddress borderRouterAddress)
public InetSocketAddress getMappedAddress(Path path)
public InetSocketAddress getMappedAddressFromBR(Path path)
public InetAddress getExternalIP()
public static NatMapping createMapping(long localIsdAs, DatagramChannel channel, List<InetSocketAddress> borderRouters)
public void close()
Copyright © 2025. All rights reserved.