- java.lang.Object
-
- org.praxislive.script.impl.AbstractSingleCallFrame
-
- All Implemented Interfaces:
StackFrame
public abstract class AbstractSingleCallFrame extends Object implements StackFrame
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.praxislive.script.StackFrame
StackFrame.State
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractSingleCallFrame(Namespace namespace, List<Value> args)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract CallcreateCall(Env env, List<Value> args)NamespacegetNamespace()StackFrame.StategetState()voidpostResponse(Call response)voidpostResponse(StackFrame.State state, List<Value> args)StackFrameprocess(Env env)protected List<Value>processResult(List<Value> result)List<Value>result()
-
-
-
Method Detail
-
getState
public final StackFrame.State getState()
- Specified by:
getStatein interfaceStackFrame
-
getNamespace
public final Namespace getNamespace()
-
process
public final StackFrame process(Env env)
- Specified by:
processin interfaceStackFrame
-
postResponse
public final void postResponse(Call response)
- Specified by:
postResponsein interfaceStackFrame
-
postResponse
public final void postResponse(StackFrame.State state, List<Value> args)
- Specified by:
postResponsein interfaceStackFrame
-
result
public final List<Value> result()
- Specified by:
resultin interfaceStackFrame
-
createCall
protected abstract Call createCall(Env env, List<Value> args) throws Exception
- Throws:
Exception
-
-