public class DetectedIP
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static short |
FULL_CONE_NAT
Full cone NAT.
|
static short |
FULL_INTERNET
Full internet access!
|
int |
mtu
The MTU as advertized by the JVM
|
short |
natType |
static short |
NO_UDP
No UDP connectivity at all
|
static short |
NOT_SUPPORTED
The plugin does not support detecting the NAT type.
|
static short |
PORT_RESTRICTED_NAT
Port restricted cone NAT.
|
java.net.InetAddress |
publicAddress |
static short |
RESTRICTED_CONE_NAT
Restricted cone NAT.
|
static short |
SYMMETRIC_NAT
Symmetric NAT.
|
static short |
SYMMETRIC_UDP_FIREWALL
Symmetric UDP firewall.
|
Constructor and Description |
---|
DetectedIP(java.net.InetAddress addr,
short type) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
java.lang.String |
toString() |
public final java.net.InetAddress publicAddress
public final short natType
public int mtu
public static final short NOT_SUPPORTED
public static final short FULL_INTERNET
public static final short FULL_CONE_NAT
public static final short RESTRICTED_CONE_NAT
public static final short PORT_RESTRICTED_NAT
public static final short SYMMETRIC_NAT
public static final short SYMMETRIC_UDP_FIREWALL
public static final short NO_UDP