|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<CommSystemFacade.Status>
net.i2p.router.CommSystemFacade.Status
public static enum CommSystemFacade.Status
Since the codes may change.
Enum Constant Summary | |
---|---|
DIFFERENT
IPv4 symmetric NAT, IPv6 firewalled or disabled or no address |
|
DISCONNECTED
|
|
HOSED
|
|
IPV4_DISABLED_IPV6_FIREWALLED
|
|
IPV4_DISABLED_IPV6_OK
|
|
IPV4_DISABLED_IPV6_UNKNOWN
|
|
IPV4_FIREWALLED_IPV6_OK
|
|
IPV4_FIREWALLED_IPV6_UNKNOWN
|
|
IPV4_OK_IPV6_FIREWALLED
|
|
IPV4_OK_IPV6_UNKNOWN
|
|
IPV4_SNAT_IPV6_OK
|
|
IPV4_SNAT_IPV6_UNKNOWN
|
|
IPV4_UNKNOWN_IPV6_FIREWALLED
|
|
IPV4_UNKNOWN_IPV6_OK
|
|
OK
IPv4 OK, IPv6 OK or disabled or no address |
|
REJECT_UNSOLICITED
IPv4 firewalled, IPv6 firewalled or disabled or no address |
|
UNKNOWN
|
Method Summary | |
---|---|
int |
getCode()
|
static CommSystemFacade.Status |
merge(CommSystemFacade.Status oldStatus,
CommSystemFacade.Status newStatus)
merge the new Status with the old Status |
String |
toStatusString()
Readable status, not translated |
String |
toString()
|
static CommSystemFacade.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CommSystemFacade.Status[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final CommSystemFacade.Status OK
public static final CommSystemFacade.Status IPV4_OK_IPV6_UNKNOWN
public static final CommSystemFacade.Status IPV4_OK_IPV6_FIREWALLED
public static final CommSystemFacade.Status IPV4_UNKNOWN_IPV6_OK
public static final CommSystemFacade.Status IPV4_FIREWALLED_IPV6_OK
public static final CommSystemFacade.Status IPV4_DISABLED_IPV6_OK
public static final CommSystemFacade.Status IPV4_SNAT_IPV6_OK
public static final CommSystemFacade.Status DIFFERENT
public static final CommSystemFacade.Status IPV4_SNAT_IPV6_UNKNOWN
public static final CommSystemFacade.Status IPV4_FIREWALLED_IPV6_UNKNOWN
public static final CommSystemFacade.Status REJECT_UNSOLICITED
public static final CommSystemFacade.Status IPV4_UNKNOWN_IPV6_FIREWALLED
public static final CommSystemFacade.Status IPV4_DISABLED_IPV6_UNKNOWN
public static final CommSystemFacade.Status IPV4_DISABLED_IPV6_FIREWALLED
public static final CommSystemFacade.Status DISCONNECTED
public static final CommSystemFacade.Status HOSED
public static final CommSystemFacade.Status UNKNOWN
Method Detail |
---|
public static CommSystemFacade.Status[] values()
for (CommSystemFacade.Status c : CommSystemFacade.Status.values()) System.out.println(c);
public static CommSystemFacade.Status valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic int getCode()
public static CommSystemFacade.Status merge(CommSystemFacade.Status oldStatus, CommSystemFacade.Status newStatus)
public String toStatusString()
public String toString()
toString
in class Enum<CommSystemFacade.Status>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |