sisc.interpreter
Interface SchemeCaller

All Known Implementing Classes:
SignalHook.SignalHandler

public interface SchemeCaller

Defines a visitor interface for performing Java -> Scheme calls in an 'atomic' fashion, where details of acquiring and releasing the Interpreter context are done behind the scenes.

See Also:
Context

Method Summary
 java.lang.Object execute(Interpreter r)
          The execute callback function is called by Context with a fresh Interpreter context which is valid only during the call to execute.
 

Method Detail

execute

java.lang.Object execute(Interpreter r)
                         throws SchemeException
The execute callback function is called by Context with a fresh Interpreter context which is valid only during the call to execute.

Parameters:
r - An Interpreter context
Returns:
Any arbitrary return value, which will be returned out of the call to Context.execute()
Throws:
SchemeException
See Also:
Context.execute(AppContext, SchemeCaller)