class GassServerListener extends java.lang.Object implements GramJobListener
Modifier and Type | Field and Description |
---|---|
private int |
error |
private static org.apache.commons.logging.Log |
logger |
private int |
status |
Constructor and Description |
---|
GassServerListener() |
Modifier and Type | Method and Description |
---|---|
int |
getError() |
static boolean |
isStartState(int status) |
void |
reset() |
void |
statusChanged(GramJob job)
This method is used to notify the implementer when the status of a
GramJob has changed.
|
int |
waitFor(int timeout) |
private static org.apache.commons.logging.Log logger
private int status
private int error
public int getError()
public static boolean isStartState(int status)
public void reset()
public int waitFor(int timeout) throws java.lang.InterruptedException
java.lang.InterruptedException
public void statusChanged(GramJob job)
GramJobListener
statusChanged
in interface GramJobListener
job
- The GramJob whose status has changed.