public static enum UDPClientEvent.ClientEvent.Type extends java.lang.Enum<UDPClientEvent.ClientEvent.Type>
Enum Constant and Description |
---|
CONNECT |
DISCONNECT |
Modifier and Type | Method and Description |
---|---|
void |
broadcast(H2ONode clientNode) |
static UDPClientEvent.ClientEvent.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static UDPClientEvent.ClientEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UDPClientEvent.ClientEvent.Type CONNECT
public static final UDPClientEvent.ClientEvent.Type DISCONNECT
public static UDPClientEvent.ClientEvent.Type[] values()
for (UDPClientEvent.ClientEvent.Type c : UDPClientEvent.ClientEvent.Type.values()) System.out.println(c);
public static UDPClientEvent.ClientEvent.Type 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 void broadcast(H2ONode clientNode)