public static enum DProtocol.ListenerIndex extends Enum<DProtocol.ListenerIndex>
Enum Constant and Description |
---|
MessageCounter
The DMessageCounter must always be the LAST listener, so that the message has
been fully processed before we wake up any threads that were waiting until a
message comes in.
|
PlayerSession |
Modifier and Type | Method and Description |
---|---|
static DProtocol.ListenerIndex |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DProtocol.ListenerIndex[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DProtocol.ListenerIndex PlayerSession
public static final DProtocol.ListenerIndex MessageCounter
public static DProtocol.ListenerIndex[] values()
for (DProtocol.ListenerIndex c : DProtocol.ListenerIndex.values()) System.out.println(c);
public static DProtocol.ListenerIndex 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 © 2016 The Apache Software Foundation. All rights reserved.