public enum Session extends Enum<Session>
Enum Constant and Description |
---|
ADD_NODE |
CALLBACK |
EXCLUSION |
INCLUSION |
LEARN_READY |
NODE_FOUND |
NONE |
REMOVE_NODE |
RESPONSE |
RESPONSE_CALLBACK |
Modifier and Type | Field and Description |
---|---|
protected boolean |
error |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
error() |
boolean |
open() |
static Session |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Session[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Session ADD_NODE
public static final Session CALLBACK
public static final Session EXCLUSION
public static final Session INCLUSION
public static final Session LEARN_READY
public static final Session NODE_FOUND
public static final Session NONE
public static final Session REMOVE_NODE
public static final Session RESPONSE
public static final Session RESPONSE_CALLBACK
public void close()
public void error()
public boolean open() throws InterruptedException
InterruptedException
public static Session 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 nullpublic static Session[] values()
for (Session c : Session.values()) System.out.println(c);