|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--jacol.processor.LispQueue
This class supports asynchronous lisp calls by maintaining a queue of lisp requests. Each queued request will be sequentially passed to the lisp interpreter, and the LispCaller will receive a callback once the call has completed.
| Constructor Summary | |
protected |
LispQueue()
|
| Method Summary | |
void |
enqueue(java.lang.String expression,
LispCaller caller)
Add a request to the queue, and wake up the queue processor. |
static LispQueue |
getInstance()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected LispQueue()
| Method Detail |
public static LispQueue getInstance()
public void enqueue(java.lang.String expression,
LispCaller caller)
expression - a String representing a lisp expressioncaller - the LispCaller to notify when done
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||