public class DetectedIP extends Object
Modifier and Type | Field | 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.
|
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 | Description |
---|---|
DetectedIP(InetAddress addr,
short type) |
public final 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
public DetectedIP(InetAddress addr, short type)