public static enum PeerBlockedAlert.Reason extends java.lang.Enum<PeerBlockedAlert.Reason>
| Enum Constant and Description |
|---|
I2P_MIXED |
INVALID_LOCAL_INTERFACE |
IP_FILTER |
PORT_FILTER |
PRIVILEGED_PORTS |
TCP_DISABLED |
UNKNOWN |
UTP_DISABLED |
| Modifier and Type | Method and Description |
|---|---|
static PeerBlockedAlert.Reason |
fromSwig(int swigValue) |
int |
swig() |
static PeerBlockedAlert.Reason |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PeerBlockedAlert.Reason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PeerBlockedAlert.Reason IP_FILTER
public static final PeerBlockedAlert.Reason PORT_FILTER
public static final PeerBlockedAlert.Reason I2P_MIXED
public static final PeerBlockedAlert.Reason PRIVILEGED_PORTS
public static final PeerBlockedAlert.Reason UTP_DISABLED
public static final PeerBlockedAlert.Reason TCP_DISABLED
public static final PeerBlockedAlert.Reason INVALID_LOCAL_INTERFACE
public static final PeerBlockedAlert.Reason UNKNOWN
public static PeerBlockedAlert.Reason[] values()
for (PeerBlockedAlert.Reason c : PeerBlockedAlert.Reason.values()) System.out.println(c);
public static PeerBlockedAlert.Reason valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int swig()
public static PeerBlockedAlert.Reason fromSwig(int swigValue)
swigValue -