|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.freenetproject.DetectedIP
public class DetectedIP
Class returned by a FredPluginIPDetector. Indicates: - Whether there is no UDP connectivity at all. - Whether there is full inbound IP connectivity. - A list of detected public IPs.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
DetectedIP(InetAddress addr,
short type)
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
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
| Constructor Detail |
|---|
public DetectedIP(InetAddress addr,
short type)
| Method Detail |
|---|
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||