public class DetectedIP extends Object
| Modifier and Type | Field and Description |
|---|---|
static short | FULL_CONE_NATFull cone NAT. |
static short | FULL_INTERNETFull internet access! |
int | mtuThe MTU as advertized by the JVM |
short | natTypeThe NAT type |
static short | NO_UDPNo UDP connectivity at all |
static short | NOT_SUPPORTEDThe plugin does not support detecting the NAT type. |
static short | PORT_RESTRICTED_NATPort restricted cone NAT. |
InetAddress | publicAddressThe detected public IP address |
static short | RESTRICTED_CONE_NATRestricted cone NAT. |
static short | SYMMETRIC_NATSymmetric NAT. |
static short | SYMMETRIC_UDP_FIREWALLSymmetric UDP firewall. |
| Constructor and Description |
|---|
DetectedIP(InetAddress addr,
short type)Creates a new DetectedIP instance. |
public static final short FULL_CONE_NAT
public static final short FULL_INTERNET
public int mtu
public final short natType
public static final short NO_UDP
public static final short NOT_SUPPORTED
public static final short PORT_RESTRICTED_NAT
public final InetAddress publicAddress
public static final short RESTRICTED_CONE_NAT
public static final short SYMMETRIC_NAT
public static final short SYMMETRIC_UDP_FIREWALL
public DetectedIP(InetAddress addr, short type)
addr - the detected public IP addresstype - the NAT type