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(java.lang.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 NONE
public static final Session RESPONSE
public static final Session CALLBACK
public static final Session RESPONSE_CALLBACK
public static final Session LEARN_READY
public static final Session NODE_FOUND
public static final Session ADD_NODE
public static final Session INCLUSION
public static final Session REMOVE_NODE
public static final Session EXCLUSION
public static Session[] values()
for (Session c : Session.values()) System.out.println(c);
public static Session 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 boolean open() throws java.lang.InterruptedException
java.lang.InterruptedException
public void close()
public void error()