public static enum Peers.Event extends java.lang.Enum<Peers.Event>
Enum Constant and Description |
---|
ADD_INBOUND |
ADDED_ACTIVE_PEER |
BLACKLIST |
CHANGED_ACTIVE_PEER |
CHANGED_SERVICES |
DEACTIVATE |
DOWNLOADED_VOLUME |
NEW_PEER |
REMOVE |
REMOVE_INBOUND |
UNBLACKLIST |
UPLOADED_VOLUME |
WEIGHT |
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 DEACTIVATE
public static final Peers.Event REMOVE
public static final Peers.Event DOWNLOADED_VOLUME
public static final Peers.Event UPLOADED_VOLUME
public static final Peers.Event WEIGHT
public static final Peers.Event ADDED_ACTIVE_PEER
public static final Peers.Event CHANGED_ACTIVE_PEER
public static final Peers.Event NEW_PEER
public static final Peers.Event ADD_INBOUND
public static final Peers.Event REMOVE_INBOUND
public static final Peers.Event CHANGED_SERVICES
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