jacol
Class InterpreterFactory

java.lang.Object
  |
  +--jacol.InterpreterFactory

public class InterpreterFactory
extends java.lang.Object

This is a class utility used to obtain a LispInterpreter. Two kinds of interpreters are available, one for synchronous calls and another for asynchronous calls.

Version:
0.20 beta
Author:
Jason Lowdermilk Email

Constructor Summary
InterpreterFactory()
           
 
Method Summary
static LispInterpreter getInterpreter()
          Obtain a synchronous lisp interpreter.
static LispInterpreter getInterpreter(LispCaller l)
          Obtain an asynchronous lisp interpreter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InterpreterFactory

public InterpreterFactory()
Method Detail

getInterpreter

public static LispInterpreter getInterpreter(LispCaller l)
Obtain an asynchronous lisp interpreter. Calls to this interpreter will return immediately, and a callback will be triggered when the lisp completes.
Parameters:
l - the LispCaller to notify when the lisp call completes

getInterpreter

public static LispInterpreter getInterpreter()
Obtain a synchronous lisp interpreter. Calls to this interpreter will block until the lisp completes.