public static enum BridgeEvent.Type extends Enum<BridgeEvent.Type>
Enum Constant and Description |
---|
PUBLISH |
RECEIVE |
REGISTER |
SEND |
SOCKET_CLOSED |
SOCKET_CREATED |
UNREGISTER |
Modifier and Type | Method and Description |
---|---|
static BridgeEvent.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BridgeEvent.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BridgeEvent.Type SOCKET_CREATED
public static final BridgeEvent.Type SOCKET_CLOSED
public static final BridgeEvent.Type SEND
public static final BridgeEvent.Type PUBLISH
public static final BridgeEvent.Type RECEIVE
public static final BridgeEvent.Type REGISTER
public static final BridgeEvent.Type UNREGISTER
public static BridgeEvent.Type[] values()
for (BridgeEvent.Type c : BridgeEvent.Type.values()) System.out.println(c);
public static BridgeEvent.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2015. All Rights Reserved.