public static enum Peers.Event extends java.lang.Enum<Peers.Event>
Enum Constant and Description |
---|
ADD_ACTIVE_PEER |
ADD_PEER |
BLACKLIST |
CHANGE_ACTIVE_PEER |
CHANGE_ANNOUNCED_ADDRESS |
CHANGE_SERVICES |
REMOVE_PEER |
UNBLACKLIST |
Modifier and Type | Method and Description |
---|---|
static Peers.Event |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Peers.Event[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Peers.Event BLACKLIST
public static final Peers.Event UNBLACKLIST
public static final Peers.Event ADD_PEER
public static final Peers.Event CHANGE_ANNOUNCED_ADDRESS
public static final Peers.Event CHANGE_SERVICES
public static final Peers.Event REMOVE_PEER
public static final Peers.Event ADD_ACTIVE_PEER
public static final Peers.Event CHANGE_ACTIVE_PEER
public static Peers.Event[] values()
for (Peers.Event c : Peers.Event.values()) System.out.println(c);
public static Peers.Event 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 null