All Packages Class Hierarchy This Package Previous Next Index
Interface Jaja.EvalAble
- public interface EvalAble
- extends Remote
-
EVALUATED
-
-
EVALUATING
-
-
EXITED
-
-
EXITING
-
-
EXPANDED
-
-
EXPANDING
-
-
STARTING
-
-
statusName
-
-
UNCAUGHT
-
-
UNEVALUATED
-
-
UNEXPANDED
-
-
UNSTARTED
-
-
getDynamicEnvironment()
-
-
getStatus()
- An EvalAble always maintains an uptodate status which may be
one of the codes below.
-
getStatusName()
-
-
getWorld()
-
-
obtain()
- The obtain method allows to get the final Value computed by an
EvalAble evaluation or to raise the Exception yielded by this
EvalAble evaluation.
-
start()
-
-
stop()
-
EVALUATED
public static final int EVALUATED
UNSTARTED
public static final int UNSTARTED
STARTING
public static final int STARTING
EVALUATING
public static final int EVALUATING
UNEVALUATED
public static final int UNEVALUATED
EXPANDING
public static final int EXPANDING
UNEXPANDED
public static final int UNEXPANDED
EXPANDED
public static final int EXPANDED
EXITING
public static final int EXITING
EXITED
public static final int EXITED
UNCAUGHT
public static final int UNCAUGHT
statusName
public static final String statusName[]
getWorld
public abstract WorldAble getWorld() throws RemoteException
getDynamicEnvironment
public abstract DynamicEnvironment getDynamicEnvironment() throws RemoteException
getStatus
public abstract int getStatus() throws RemoteException
- An EvalAble always maintains an uptodate status which may be
one of the codes below. The status is initially UNSTARTED and,
mormally, ends up with DONE. Various intermediary phases exist to
record the various states of the EvalAble: UNEVALUATED means that
an error occured when evaluating while UNEXPANDED means that an
error occured when expanding.
The normal succession of state is as follows:
UNSTARTED -> STARTING -> EXPANDING -> EXPANDED -> EVALUATING -> EVALUATED
| |
+> UNEXPANDED +> UNEVALUATED
getStatusName
public abstract String getStatusName() throws RemoteException
obtain
public abstract Value obtain() throws Exception, RemoteException
- The obtain method allows to get the final Value computed by an
EvalAble evaluation or to raise the Exception yielded by this
EvalAble evaluation. If a final state of the EvalAble is not yet
attained, wait until this is true. This method is therefore
synchronous.
- Throws: Exception
- errors when running Jaja belong to RuntimeException,
Other errors may occur due to remote method invokation.
start
public abstract void start() throws RemoteException
stop
public abstract void stop() throws RemoteException
All Packages Class Hierarchy This Package Previous Next Index